F2m2\Apidocs\Commands\ApiDocsGenerator::getPatternFilters PHP Метод

getPatternFilters() защищенный Метод

Get all of the pattern filters matching the route.
protected getPatternFilters ( Illuminate\Routing\Route $route ) : array
$route Illuminate\Routing\Route
Результат array
    protected function getPatternFilters($route)
    {
        $patterns = array();
        foreach ($route->methods() as $method) {
            // For each method supported by the route we will need to gather up the patterned
            // filters for that method. We will then merge these in with the other filters
            // we have already gathered up then return them back out to these consumers.
            $inner = $this->getMethodPatterns($route->uri(), $method);
            $patterns = array_merge($patterns, array_keys($inner));
        }
        return $patterns;
    }