October\Rain\Database\Scopes\MultisiteScope
Implements
- Illuminate\Database\Eloquent\Scope
Protected Properties
protected array $extensions
extensions to be added to the builder.
Public Methods
public apply()
public apply($builder, $model): void
apply the scope to a given Eloquent query builder.
public extend()
public extend($builder): void
extend the Eloquent query builder.
Protected Methods
protected addWithSite()
protected addWithSite($builder): void
addWithSite removes this scope and includes the specified site
protected addWithSites()
protected addWithSites($builder): void
addWithSites removes this scope and includes everything.
protected addWithSyncSites()
protected addWithSyncSites($builder): void
addWithSyncSites removes this scope and includes sites that should be synced with this model