Dingo\Api\Console\Command\Routes::filterByProtected PHP Method

filterByProtected() protected method

Filter the route by whether or not it is protected.
protected filterByProtected ( array $route ) : boolean
$route array
return boolean
    protected function filterByProtected(array $route)
    {
        return $this->option('protected') && $route['protected'] == 'Yes';
    }