Base
class Base extends Base implements IMethod
Base method class.
Properties
protected string | $_name | from Base | |
protected | $_classes | from Base | |
boolean | $supported | ||
string | $comment |
Methods
__construct(string $name, boolean $supported = false, string $comment = '')
Create the instance of your extended method.
boolean
isSupported()
Returns if the method is supported.
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.
at line 41
__construct(string $name, boolean $supported = false, string $comment = '')
Create the instance of your extended method.
at line 53
boolean
isSupported()
Returns if the method is supported.