canAtLeast() public method

Checks if user has at least one of the given permissions.
public canAtLeast ( array $permissions ) : boolean
$permissions array
return boolean
Beispiel #1
0
 /**
  * Checks if user has at least one of the given permissions.
  *
  * @param array $permissions
  * @return bool 
  * @static 
  */
 public static function canAtLeast($permissions)
 {
     return \Caffeinated\Shinobi\Shinobi::canAtLeast($permissions);
 }