allow class level trigger call on Event subclasses
allow class level trigger call on Event subclasses

e.g. UserEvent::trigger('event', 'class');
should result in a UserEvent to be passed to the handlers instead of
a base\Event.

yiisoft/yii2-framework,yiisoft/yii2-framework