pradosoft / prado

Prado - Component Framework for PHP
Other
187 stars 70 forks source link

#966 TWeakCollection can insert array of handlers. (this first) #967

Closed belisoful closed 1 year ago

belisoful commented 1 year ago

Basically,Prado::createComponent only attaches one event handler per event but it should be able to attach multiple handlers to each event. This requires TWeakCallableCollection to accept and insert an array of handlers rather than just one handler at a time.