메소드 | 설명 | |
---|---|---|
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 | |
리턴 | static |
public getDependencyInjector ( ) : |
||
리턴 |
public setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static | ||
$dependencyInjector | ManaPHP\DiInterface | |
리턴 | static |