use Bluz\Proxy\EventManager;
EvenManager::attach('event name', function() {
... some logic
});
EventManager::trigger('event name');
显示文件
Open project: bluzphp/framework
Class Usage Examples
Method | Description | |
---|---|---|
initInstance ( ) : |
Init instance |
protected static initInstance ( ) : |
||
return |