allow() публичный Метод

Start a chain, to allow the given authority an ability.
public allow ( Model | string $authority ) : GivesAbility
$authority Illuminate\Database\Eloquent\Model | string
Результат Silber\Bouncer\Conductors\GivesAbility
Пример #1
0
 /**
  * Start a chain, to allow the given role a ability.
  *
  * @param \Silber\Bouncer\Database\Role|string $role
  * @return \Silber\Bouncer\Conductors\GivesAbility 
  * @static 
  */
 public static function allow($role)
 {
     return \Silber\Bouncer\Bouncer::allow($role);
 }