Constructor.
string $staticPrefix The static prefix of the compiled route:
string $regex The regular expression to use to match this route:
array $tokens An array of tokens to use to generate URL for this route:
array $variables An array of variables:
public function __construct($staticPrefix, $regex, array $tokens, array $variables) {
$this->staticPrefix = $staticPrefix;
$this->regex = $regex;
$this->tokens = $tokens;
$this->variables = $variables;
}