Builder
class Builder (View source)
Methods
void __construct(Builder $query) Create a new Eloquent query builder instance. $this withGlobalScope(string $identifier, Scope|Closure $scope) Register a new global scope. $this withoutGlobalScope(Scope|string $scope) Remove a registered global scope. $this withoutGlobalScopes(array $scopes = null) Remove all or passed registered global scopes. array removedScopes() Get an array of global scopes that were removed from the que