protected function getPatternFilters($route)
    {
        $patterns = [];

        foreach ($route->methods() as $method) {
            $inner = $this->getMethodPatterns($route->uri(), $method);

            $patterns = array_merge($patterns, array_keys($inner));
        }

        return $patterns;
    }
protected function getPatternFilters($route)
    {
        $patterns = [];

        foreach ($route->methods() as $method) {
            $inner = $this->getMethodPatterns($route->uri(), $method);

            $patterns = array_merge($patterns, array_keys($inner));
        }

        return $patterns;
    }
protected function getPatternFilters ( $ route ) { $ patterns = [ ] ; foreach ( $ route -> methods ( ) as $ method ) { $ inner = $ this -> getMethodPatterns ( $ route -> uri ( ) , $ method ) ; $ patterns = array_merge ( $ patterns , array_keys ( $ inner ) ) ; } return $ patterns ; }
Get all of the pattern filters matching the route.

@param  \Illuminate\Routing\Route  $route
@return array
Get all of the pattern filters matching the route .