ProviderCollection implements IteratorAggregate, Countable
Table of Contents
Interfaces
- IteratorAggregate
- Countable
Methods
- __construct() : mixed
- add() : void
- count() : int
- getIterator() : array<string|int, ProviderInterface>
- isEmpty() : bool
Methods
__construct()
public
__construct(ProviderInterface ...$providers) : mixed
Parameters
- $providers : ProviderInterface
add()
public
add(ProviderInterface $provider) : void
Parameters
- $provider : ProviderInterface
count()
public
count() : int
Return values
intgetIterator()
public
getIterator() : array<string|int, ProviderInterface>
Return values
array<string|int, ProviderInterface>isEmpty()
public
isEmpty() : bool