Feature
class Feature extends Base
Standard feature class.
Properties
protected string | $_name | from Base | |
protected | $_classes | from Base | |
protected array | $_methods | from Base |
Methods
boolean
existsMethod(string $name)
Returns a boolean if a method exists in the _methods array.
from Base
Details
in Base at line 30
final string
getName()
Returns the name.
in Base at line 41
final boolean
setName(string $name)
Sets the name.
in Base at line 57
array
getClasses()
Returns all declared classes.
We need this way, because the autoloader will try to include the class file if we use "class_exists" or similar functions.
in Base at line 51
delMethod(string $name)
Deletes a method from a feature by name.
in Base at line 66
boolean
existsMethod(string $name)
Returns a boolean if a method exists in the _methods array.