denies() public méthode

Determine if the given ability should be denied for the current authority.
public denies ( string $ability, array | mixed $arguments = [] ) : boolean
$ability string
$arguments array | mixed
Résultat boolean
 /**
  * Determine if the given ability should be denied for the current user.
  *
  * @param string $ability
  * @param array|mixed $arguments
  * @return bool 
  * @static 
  */
 public static function denies($ability, $arguments = array())
 {
     return \Silber\Bouncer\Bouncer::denies($ability, $arguments);
 }