Register a new global scope.
public withGlobalScope ( string $identifier, Illuminate\Database\Eloquent\Scope | Closure $scope ) | ||
$identifier | string | |
$scope | Illuminate\Database\Eloquent\Scope | Closure |
public withGlobalScope ( string $identifier, Illuminate\Database\Eloquent\Scope | Closure $scope ) | ||
$identifier | string | |
$scope | Illuminate\Database\Eloquent\Scope | Closure |