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