original_string: 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;
              }
          });
      }
code: 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;
              }
          });
      }
code_tokens: 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 ; } } ) ; }
docstring: Determine if all of the given abilities should be granted for the current user.
  
  @param  iterable|string  $abilities
  @param  array|mixed  $arguments
  @return bool
docstring_tokens: Determine if all of the given abilities should be granted for the current user .