class HelperSet
HelperSet represents a set of helpers to be used with a command.
Methods
|
__construct(array $helpers = array())
Constructor. |
||
|
set(HelperInterface $helper, string $alias = null)
Sets a helper. |
||
| Boolean |
has(string $name)
Returns true if the helper if defined. |
|
| HelperInterface |
get(string $name)
Gets a helper value. |
|
|
setCommand(Command $command = null)
Sets the command associated with this helper set. |
||
| Command |
getCommand()
Gets the command associated with this helper set. |
Details
at line 31
public
__construct(array $helpers = array())
Constructor.
at line 45
public
set(HelperInterface $helper, string $alias = null)
Sets a helper.
at line 62
public Boolean
has(string $name)
Returns true if the helper if defined.
at line 76
public HelperInterface
get(string $name)
Gets a helper value.
at line 90
public
setCommand(Command $command = null)
Sets the command associated with this helper set.
at line 100
public Command
getCommand()
Gets the command associated with this helper set.