public function check($abilities, $arguments = [])
    {
        return collect($abilities)->every(function ($ability) use ($arguments) {
            try {
                return (bool) $this->raw($ability, $arguments);
            } catch (AuthorizationException $e) {
                return false;
            }
        });
    }
public function check($abilities, $arguments = [])
    {
        return collect($abilities)->every(function ($ability) use ($arguments) {
            try {
                return (bool) $this->raw($ability, $arguments);
            } catch (AuthorizationException $e) {
                return false;
            }
        });
    }
public function check ( $ abilities , $ arguments = [ ] ) { return collect ( $ abilities ) -> every ( function ( $ ability ) use ( $ arguments ) { try { return ( bool ) $ this -> raw ( $ ability , $ arguments ) ; } catch ( AuthorizationException $ e ) { return false ; } } ) ; }
Determine if all of the given abilities should be granted for the current user.

@param  iterable|string  $abilities
@param  array|mixed  $arguments
@return bool
Determine if all of the given abilities should be granted for the current user .