Method | Description | |
---|---|---|
attachEvent ( string $event, callable $handler ) : static | Attach a listener to the events manager | |
dump ( ) : array | ||
fireEvent ( string $event, array $data = [] ) : boolean | null | Fires an event in the events manager causing that the active listeners will be notified about it | |
getDependencyInjector ( ) : |
Returns the internal dependency injector | |
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static | Sets the dependency injector |
public attachEvent ( string $event, callable $handler ) : static | ||
$event | string | |
$handler | callable | |
return | static |
public getDependencyInjector ( ) : |
||
return |
public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static | ||
$dependencyInjector | ManaPHP\DiInterface | |
return | static |