Constructor.
Available options:
@api
string $pattern The pattern to match:
array $defaults An array of default parameter values:
array $requirements An array of requirements for parameters (regexes):
array $options An array of options:
public function __construct($pattern, array $defaults = array(), array $requirements = array(), array $options = array()) {
$this
->setPattern($pattern);
$this
->setDefaults($defaults);
$this
->setRequirements($requirements);
$this
->setOptions($options);
}