original_string: public function associationsMap($table)
      {
          $map = [];
  
          if (!$this->getMatching() && !$this->getContain() && empty($this->_joinsMap)) {
              return $map;
          }
  
          $map = $this->_buildAssociationsMap($map, $this->_matching->normalized($table), true);
          $map = $this->_buildAssociationsMap($map, $this->normalized($table));
          $map = $this->_buildAssociationsMap($map, $this->_joinsMap);
  
          return $map;
      }
code: public function associationsMap($table)
      {
          $map = [];
  
          if (!$this->getMatching() && !$this->getContain() && empty($this->_joinsMap)) {
              return $map;
          }
  
          $map = $this->_buildAssociationsMap($map, $this->_matching->normalized($table), true);
          $map = $this->_buildAssociationsMap($map, $this->normalized($table));
          $map = $this->_buildAssociationsMap($map, $this->_joinsMap);
  
          return $map;
      }
code_tokens: public function associationsMap ( $ table ) { $ map = [ ] ; if ( ! $ this -> getMatching ( ) && ! $ this -> getContain ( ) && empty ( $ this -> _joinsMap ) ) { return $ map ; } $ map = $ this -> _buildAssociationsMap ( $ map , $ this -> _matching -> normalized ( $ table ) , true ) ; $ map = $ this -> _buildAssociationsMap ( $ map , $ this -> normalized ( $ table ) ) ; $ map = $ this -> _buildAssociationsMap ( $ map , $ this -> _joinsMap ) ; return $ map ; }
docstring: Returns an array having as keys a dotted path of associations that participate
  in this eager loader. The values of the array will contain the following keys
  
  - alias: The association alias
  - instance: The association instance
  - canBeJoined: Whether or not the association will be loaded using a JOIN
  - entityClass: The entity that should be used for hydrating the results
  - nestKey: A dotted path that can be used to correctly insert the data into the results.
  - matching: Whether or not it is an association loaded through `matching()`.
  
  @param \Cake\ORM\Table $table The table containing the association that
  will be normalized
  @return array
docstring_tokens: Returns an array having as keys a dotted path of associations that participate in this eager loader . The values of the array will contain the following keys