lithium\console\command\Route::__construct()

public method

Constructor. Load the routes file and set the environment.

Parameters

  • array $config

    The default configuration, wherein the absolute path to the routes file to load may be specified, using the 'routes' key.

Source

	public function __construct($config = []) {
		$defaults = ['routes' => Libraries::get(true, 'path') . '/config/routes.php'];
		parent::__construct($config + $defaults);
	}