di->setShared($this->serviceName, function () { $options = require config_path() . '/config.php'; $config = new PhalconConfig($options); return $config; }); } }