Qt-like signals/slots in PHP, implemented as trait