I want to set a default function for an event of a Class and need to check attached events of Class instance.
As i found out, Events implementations have $events
property to store events and i could check it. Is it a better way?
I want to set a default function for an event of a Class and need to check attached events of Class instance.
As i found out, Events implementations have $events
property to store events and i could check it. Is it a better way?