public function has($name) { return parent::has($name); }
protected function initEventsManager(Di $di) { if (!$di->has('eventsManager') || $di->getService('eventsManager')->getDefinition() == 'Phalcon\\Events\\Manager') { $di->setShared('eventsManager', $this->getEventsManager()); } $this->setEventsManager($di->get('eventsManager')); }
public function setUserModel($class) { $this->userModel = $this->di->has($class) ? $this->di->getRaw($class) : $class; return $this; }