original_string: public static function filterKeys(array $input, $included = [])
      {
          if (is_null($included) || count($included) == 0) {
              return $input;
          }
  
          return array_intersect_key($input, array_flip($included));
      }
code: public static function filterKeys(array $input, $included = [])
      {
          if (is_null($included) || count($included) == 0) {
              return $input;
          }
  
          return array_intersect_key($input, array_flip($included));
      }
code_tokens: public static function filterKeys ( array $ input , $ included = [ ] ) { if ( is_null ( $ included ) || count ( $ included ) == 0 ) { return $ input ; } return array_intersect_key ( $ input , array_flip ( $ included ) ) ; }
docstring: Filter the keys of an array to only the allowed set.
  
  @param array $input
  @param array $included
  
  @throws InvalidArgumentException
  @return array
  @deprecated
docstring_tokens: Filter the keys of an array to only the allowed set .