src/Route.php
protected function getPatternWildcards()
    {
        preg_match_all($this->wildcardsToRegex(), $this->getPattern(), $matches);

        return empty($matches[0]) ? [] : $matches[0];
    }
protected function getPatternWildcards()
    {
        preg_match_all($this->wildcardsToRegex(), $this->getPattern(), $matches);

        return empty($matches[0]) ? [] : $matches[0];
    }
protected function getPatternWildcards ( ) { preg_match_all ( $ this -> wildcardsToRegex ( ) , $ this -> getPattern ( ) , $ matches ) ; return empty ( $ matches [ 0 ] ) ? [ ] : $ matches [ 0 ] ; }
Gets the wildcards of route pattern

@return array
Gets the wildcards of route pattern