public static function getInstance() { if (static::$instance === null) { static::setInstance(new static()); } return static::$instance; }
/** * Retrieve event manager * * @return \Gc\Event\StaticEventManager */ public function events() { return StaticEventManager::getInstance(); }