public function __construct($methods, $uri, $action)
{
parent::__construct($methods, $uri, $action);
$this->parameters = [];
/*
* Parse the WordPress condition together with the parameters
*/
$this->condition = $this->parseCondition($uri);
$this->conditionalParameters = $this->parseConditionalParameters($action);
/*
* Create a WordPress rewrite rule if the route is a non-WordPress route
*/
$this->createRewriteRule();
}