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

__construct() public method

Constructor. Load the routes file and set the environment.
public __construct ( array $config = [] )
$config array The default configuration, wherein the absolute path to the routes file to load may be specified, using the `'routes'` key.
    public function __construct($config = array())
    {
        $defaults = array('routes' => Libraries::get(true, 'path') . '/config/routes.php');
        parent::__construct($config + $defaults);
    }