original_string: public function normalizeKeys($keys)
      {
          if ($keys === true) {
              $keys = $this->keys();
          }
  
          if (empty($keys)) {
              return [];
          }
  
          return $this->_normalizeAssociations($keys);
      }
code: public function normalizeKeys($keys)
      {
          if ($keys === true) {
              $keys = $this->keys();
          }
  
          if (empty($keys)) {
              return [];
          }
  
          return $this->_normalizeAssociations($keys);
      }
code_tokens: public function normalizeKeys ( $ keys ) { if ( $ keys === true ) { $ keys = $ this -> keys ( ) ; } if ( empty ( $ keys ) ) { return [ ] ; } return $ this -> _normalizeAssociations ( $ keys ) ; }
docstring: Returns an associative array of association names out a mixed
  array. If true is passed, then it returns all association names
  in this collection.
  
  @param bool|array $keys the list of association names to normalize
  @return array
docstring_tokens: Returns an associative array of association names out a mixed array . If true is passed then it returns all association names in this collection .