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