src/Users/User.php
public function hasAnyPermission($permissions)
    {
        $permissions = is_array($permissions) ? $permissions : func_get_args();

        foreach ($permissions as $permission) {
            if ( $this->permissions()->contains('name', $permission) ) return true;
        }

        return false;
    }
public function hasAnyPermission($permissions)
    {
        $permissions = is_array($permissions) ? $permissions : func_get_args();

        foreach ($permissions as $permission) {
            if ( $this->permissions()->contains('name', $permission) ) return true;
        }

        return false;
    }
public function hasAnyPermission ( $ permissions ) { $ permissions = is_array ( $ permissions ) ? $ permissions : func_get_args ( ) ; foreach ( $ permissions as $ permission ) { if ( $ this -> permissions ( ) -> contains ( 'name' , $ permission ) ) return true ; } return false ; }
Determines if user has ANY given permissions.

@param  string|array $permissions
@return boolean
Determines if user has ANY given permissions .