src/Console/Command/Routes.php
protected function filterByScopes(array $route)
    {
        foreach ($this->option('scopes') as $scope) {
            if (Str::contains($route['scopes'], $scope)) {
                return true;
            }
        }

        return false;
    }
protected function filterByScopes(array $route)
    {
        foreach ($this->option('scopes') as $scope) {
            if (Str::contains($route['scopes'], $scope)) {
                return true;
            }
        }

        return false;
    }
protected function filterByScopes ( array $ route ) { foreach ( $ this -> option ( 'scopes' ) as $ scope ) { if ( Str :: contains ( $ route [ 'scopes' ] , $ scope ) ) { return true ; } } return false ; }
Filter the route by its scopes.

@param array $route

@return bool
Filter the route by its scopes .