public function __construct(\core\Request $request) { $this->_controller = $request->getController(); $this->_view = $request->getAction(); $objeto = new \core\Config(FILE_CONFIG_APP); $this->_config = $objeto->getConfig(); }