lithium\console\command\Route::_init PHP Method

_init() protected method

protected _init ( )
    protected function _init()
    {
        parent::_init();
        Environment::set($this->env);
        if (file_exists($this->_config['routes'])) {
            return require $this->_config['routes'];
        }
        $this->error("The routes file for this library doesn't exist or can't be found.");
    }