src/Router.php
protected function parseRoutePath(string $path) : string
    {
        return preg_replace(array_keys($this->patternMatchers), array_values($this->patternMatchers), $path);
    }
protected function parseRoutePath(string $path) : string
    {
        return preg_replace(array_keys($this->patternMatchers), array_values($this->patternMatchers), $path);
    }
protected function parseRoutePath ( string $ path ) : string { return preg_replace ( array_keys ( $ this -> patternMatchers ) , array_values ( $ this -> patternMatchers ) , $ path ) ; }
Replace word patterns with regex in route path

@param string $path

@return string
Replace word patterns with regex in route path