/** * Init application * * @return Application */ public function registerApplication() { $application = parent::registerApplication(); if ($this->config->application->debug) { $this->di['app'] = $application; $this->registerServiceProvider('debug'); } return $application; }
/** * @return \Kachit\Phalcon\Config\Loader */ public function getConfigLoader() { return parent::getConfigLoader(); }