lithium\net\http\Route::__construct()
Overrides
lithium\core\Object::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'params'
array'template'
string'pattern'
string'match'
array'meta'
array'defaults'
array'keys'
array'persist'
array'handler'
callable'continue'
boolean'modifiers'
array'formatters'
array'unicode'
boolean
Returns
voidSource
public function __construct(array $config = array()) {
$defaults = array(
'params' => array(),
'template' => '/',
'pattern' => '',
'match' => array(),
'meta' => array(),
'defaults' => array(),
'keys' => array(),
'persist' => array(),
'handler' => null,
'continue' => false,
'modifiers' => array(),
'formatters' => array(),
'unicode' => true
);
parent::__construct($config + $defaults);
}