original_string: public function matches(array $values, $strict = false)
      {
          if (empty($values)) {
              return false;
          }
  
          $claims = $this->getClaims();
  
          foreach ($values as $key => $value) {
              if (! $claims->has($key) || ! $claims->get($key)->matches($value, $strict)) {
                  return false;
              }
          }
  
          return true;
      }
code: public function matches(array $values, $strict = false)
      {
          if (empty($values)) {
              return false;
          }
  
          $claims = $this->getClaims();
  
          foreach ($values as $key => $value) {
              if (! $claims->has($key) || ! $claims->get($key)->matches($value, $strict)) {
                  return false;
              }
          }
  
          return true;
      }
code_tokens: public function matches ( array $ values , $ strict = false ) { if ( empty ( $ values ) ) { return false ; } $ claims = $ this -> getClaims ( ) ; foreach ( $ values as $ key => $ value ) { if ( ! $ claims -> has ( $ key ) || ! $ claims -> get ( $ key ) -> matches ( $ value , $ strict ) ) { return false ; } } return true ; }
docstring: Checks if a payload matches some expected values.
  
  @param  array  $values
  @param  bool  $strict
  
  @return bool
docstring_tokens: Checks if a payload matches some expected values .