Manage events and providers
__construct( array $providers = array(), null $instantiator = null) | ||
array| EventInterface |
find( PeriodInterface $period, array $options = array())
find events that matches the given period (during or over) |
|
addProvider( $name $name, ProviderInterface $provider)
Adds a provider to the provider stack |
||
setCollectionInstantiator( callable $collectionInstantiator)
Sets the callable used to instantiate the event collection |
||
ProviderInterface | getProviders() |
public
__construct( array $providers = array(), null $instantiator = null)
Parameters |
|
---|
public array| EventInterface
find( PeriodInterface $period, array $options = array())
find events that matches the given period (during or over)
Parameters |
|
||||||
---|---|---|---|---|---|---|---|
Return Value |
|
public
addProvider( $name $name, ProviderInterface $provider)
public
setCollectionInstantiator( callable $collectionInstantiator)
Sets the callable used to instantiate the event collection
Parameters |
|
---|
public ProviderInterface
getProviders()