LifecycleCallbackClassMetadataTrait
trait LifecycleCallbackClassMetadataTrait (View source)
Properties
| array | $lifecycleCallbacks |
Methods
boolean
hasLifecycleCallbacks(string $event)
Indicates if object has a lifecycle callback for the given event name
addLifecycleCallback(string $event, string $method)
Set the object lifecycle callback for ghe given event.