Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Re: Feedback requested on new Events system specification

$
0
0
by Petr Škoda.  

Events are not contexts.

event->trigger() does a lot more than just triggering of the event (see my sample code), clearly external function or method trigger($event) can not do that because it does not have access to protected and private properties.

Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>