class Bar in Coder 8.2
Same name in this branch
Same name and namespace in other branches
Hierarchy
- class \Bar
Expanded class hierarchy of Bar
1 string reference to 'Bar'
File
- coder_sniffer/
Drupal/ Test/ bad/ bad.php, line 357
View source
class Bar {
// Private properties must not have a prefix
private $_secret = 1;
// Public properties must not have a prefix
protected $_foo = 1;
// Public properties must not have a prefix
public $_bar = 1;
// Public static variables use camelCase.
public static $base_path = NULL;
// "var" keyword must no be used.
var $x = 5;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Bar:: |
public static | property | ||
Bar:: |
property | |||
Bar:: |
public | property | ||
Bar:: |
protected | property | ||
Bar:: |
private | property |