MethodsAware
trait MethodsAware
internal |
Methods
setMethods(array $methods)
Replaces all methods.
array
getMethods()
No description
addMethod(string $name, bool $overwrite = false)
Adds a method. If it already exists, throws an exception or overwrites it if $overwrite is true.
removeMethod(string $name)
No description
bool
hasMethod(string $name)
No description
Details
at line 29
MethodsAware
setMethods(array $methods)
Replaces all methods.
at line 42
array
getMethods()
No description
at line 53
Method
getMethod(string $name)
No description
at line 62
Method
addMethod(string $name, bool $overwrite = false)
Adds a method. If it already exists, throws an exception or overwrites it if $overwrite is true.
at line 77
MethodsAware
removeMethod(string $name)
No description
at line 84
bool
hasMethod(string $name)
No description