implements |
IteratorAggregate<string, HelperInterface> |
|---|
HelperSet represents a set of helpers to be used with a command.
| Methods | ||
|---|---|---|
public
|
__construct(HelperInterface[] $helpers = [])
|
# |
public
|
set(HelperInterface $helper, string $alias = null): void
|
# |
public
|
has(string $name): bool
|
# |
public
|
get(string $name): HelperInterface
|
# |
public
|
getIterator(): Traversable
|
# |
| Properties | |||
|---|---|---|---|
private
|
array<string, HelperInterface>
|
$helpers = []
|
# |