disallow() public method

Start a chain, to disallow the given authority an ability.
public disallow ( Model | string $authority ) : RemovesAbility
$authority Illuminate\Database\Eloquent\Model | string
return Silber\Bouncer\Conductors\RemovesAbility
Example #1
0
 /**
  * Start a chain, to disallow the given role a ability.
  *
  * @param \Silber\Bouncer\Database\Role|string $role
  * @return \Silber\Bouncer\Conductors\RemovesAbility 
  * @static 
  */
 public static function disallow($role)
 {
     return \Silber\Bouncer\Bouncer::disallow($role);
 }