Methods |
public
|
__construct(Helper[] $helpers = [])
Parameters
$helpers |
An array of helper
|
|
#
|
public
|
set(HelperInterface $helper, string $alias = null)
|
#
|
public
|
has(string $name): bool
Returns true if the helper if defined.
Returns true if the helper if defined.
|
#
|
public
|
get(string $name): HelperInterface
Gets a helper value.
|
#
|
public
|
setCommand(Command $command = null)
|
#
|
public
|
getCommand(): Command
Gets the command associated with this helper set.
Gets the command associated with this helper set.
Deprecated
|
#
|
public
|
getIterator(): Traversable<string, Helper>
|
#
|