/** * {@inheritdoc} */ public function scopeFor(Authorizable $authorizable) { return $authorizable->scope($this); }
public function make($producible) { return new $producible($this->user, is_a($producible, Scope::class, true) ? $this->record->baseScope() : $this->record); }