class HelperSet implements IteratorAggregate
HelperSet represents a set of helpers to be used with a command.
__construct(array $helpers = array()) Constructor. | ||
set(HelperInterface $helper, string $alias = null) Sets a helper. | ||
bool | 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. | |
Helper[] | getIterator() |
Constructor.
Sets a helper.
Returns true if the helper if defined.
Gets a helper value.
Sets the command associated with this helper set.
Gets the command associated with this helper set.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Console/Helper/HelperSet.html