src/Router.php
public function define(string $name, string $pattern): Router
    {
        $this->parameters[$name] = $pattern;

        return $this;
    }
public function define(string $name, string $pattern): Router
    {
        $this->parameters[$name] = $pattern;

        return $this;
    }
Define a parameter pattern

@param string $name
@param string $pattern
@return $this