Copied!

HelperSet represents a set of helpers to be used with a command.

CloneableInstantiableIterable
Methods
public __construct(array $helpers = [])
 
  • param \HelperInterface[] $helpers
public get(string $name) : Symfony\Component\Console\Helper\HelperInterface
 

Gets a helper value.

  • throws \InvalidArgumentException if the helper is not defined
public getIterator() : Traversable
public has(string $name) : bool
 

Returns true if the helper if defined.

public set(Symfony\Component\Console\Helper\HelperInterface $helper, ?string $alias = NULL)
 
  • return void
Properties
private array $helpers = []
 
  • var array<string,\HelperInterface>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration