original_string: public function isAll(array $types)
      {
          $result = array_filter(array_map([$this, 'is'], $types));
  
          return count($result) === count($types);
      }
code: public function isAll(array $types)
      {
          $result = array_filter(array_map([$this, 'is'], $types));
  
          return count($result) === count($types);
      }
code_tokens: public function isAll ( array $ types ) { $ result = array_filter ( array_map ( [ $ this , 'is' ] , $ types ) ) ; return count ( $ result ) === count ( $ types ) ; }
docstring: Check that a request matches all the given types.
  
  Allows you to test multiple types and union the results.
  See Request::is() for how to add additional types and the
  built-in types.
  
  @param array $types The types to check.
  @return bool Success.
  @see \Cake\Http\ServerRequest::is()
docstring_tokens: Check that a request matches all the given types .