Cartalyst\Tags\TaggableInterface::scopeWithoutTag PHP Method

scopeWithoutTag() public static method

Returns the entities that do not have one of the given tags.
public static scopeWithoutTag ( Builder $query, string | array $tags, string $type = 'slug' ) : Builder
$query Illuminate\Database\Eloquent\Builder
$tags string | array
$type string
return Illuminate\Database\Eloquent\Builder
    public static function scopeWithoutTag(Builder $query, $tags, $type = 'slug');