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

protected addWithSites()

protected addWithSites($builder): void

addWithSites removes this scope and includes everything.