HelperSet
    
            
            in package
            
        
    
            
            implements
                            IteratorAggregate                    
    
    
HelperSet represents a set of helpers to be used with a command.
Tags
Table of Contents
Interfaces
- IteratorAggregate
Properties
- $helpers : array<string, HelperInterface>
Methods
- __construct() : mixed
- get() : HelperInterface
- Gets a helper value.
- getIterator() : Traversable
- has() : bool
- Returns true if the helper if defined.
- set() : void
Properties
$helpers
    private
        array<string, HelperInterface>
    $helpers
     = []
    
    
    
Methods
__construct()
    public
                    __construct([array<string|int, HelperInterface> $helpers = [] ]) : mixed
    Parameters
- $helpers : array<string|int, HelperInterface> = []
get()
Gets a helper value.
    public
                    get(string $name) : HelperInterface
    Parameters
- $name : string
Tags
Return values
HelperInterfacegetIterator()
    public
                    getIterator() : Traversable
    Return values
Traversablehas()
Returns true if the helper if defined.
    public
                    has(string $name) : bool
    Parameters
- $name : string
Return values
boolset()
    public
                    set(HelperInterface $helper[, string|null $alias = null ]) : void
    Parameters
- $helper : HelperInterface
- $alias : string|null = null