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

filterByUnprotected() protected method

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