Note: If the same callback is registered more than once, the old one
will be overridden.
public addLifecycleCallback ( string $callback, string $event ) | ||
$callback | string | |
$event | string |
public addLifecycleCallback ( string $callback, string $event ) | ||
$callback | string | |
$event | string |