/** * Initializer method */ public function init() { Logger::log('Dispatcher init'); parent::init(); $this->initiateStats(); $this->setLocale(); $this->bindWarningAsExceptions(); $this->actualUri = $this->parser->getServer("REQUEST_URI"); Logger::log('End dispatcher init'); }
public function init() { parent::init(); }
public function init() { parent::init(); $this->setDomain($this->domain)->setTemplatePath(Config::getInstance()->getTemplatePath()); }
/** * Extract all the properties from Dto class * * @param string $class * * @return array */ protected function extractDtoProperties($class) { $properties = []; $reflector = new \ReflectionClass($class); if ($reflector->isSubclassOf(self::DTO_INTERFACE)) { Singleton::extractProperties($reflector, $properties, \ReflectionMethod::IS_PUBLIC); } return $properties; }