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