Documentation

HelperSet
in package
implements IteratorAggregate

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

Tags
author

Fabien Potencier fabien@symfony.com

implements

\IteratorAggregate<string, HelperInterface>

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

Methods

getIterator()

public getIterator() : Traversable
Return values
Traversable

has()

Returns true if the helper if defined.

public has(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results