class Bar in Coder 7.2
Same name in this branch
Same name and namespace in other branches
Class declaration
Classes always have a multiline comment
Hierarchy
- class \Bar
Expanded class hierarchy of Bar
1 string reference to 'Bar'
File
- coder_sniffer/
Test/ good/ good.php, line 298 - This file contains all the valid notations for the drupal coding standard.
View source
class Bar {
// Private properties have no prefix.
private $secret = 1;
// Protected properties also don't have a prefix.
protected $foo = 1;
// Longer properties use camelCase naming.
public $barProperty = 1;
// Public static variables use camelCase, too.
public static $basePath = NULL;
/**
* Enter description here ...
*/
public function foo() {
}
/**
* Enter description here ...
*/
protected function barMethod() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Bar:: |
public | property | ||
Bar:: |
public static | property | ||
Bar:: |
protected | property | ||
Bar:: |
private | property | ||
Bar:: |
protected | function | Enter description here ... | |
Bar:: |
public | function | Enter description here ... |