original_string: protected function _getPropertyMap($source, $associations)
      {
          $map = [];
          $container = $source->associations();
          foreach ($associations as $assoc) {
              $map[$assoc] = $container->get($assoc)->getProperty();
          }
  
          return $map;
      }
code: protected function _getPropertyMap($source, $associations)
      {
          $map = [];
          $container = $source->associations();
          foreach ($associations as $assoc) {
              $map[$assoc] = $container->get($assoc)->getProperty();
          }
  
          return $map;
      }
code_tokens: protected function _getPropertyMap ( $ source , $ associations ) { $ map = [ ] ; $ container = $ source -> associations ( ) ; foreach ( $ associations as $ assoc ) { $ map [ $ assoc ] = $ container -> get ( $ assoc ) -> getProperty ( ) ; } return $ map ; }
docstring: Returns a map of property names where the association results should be injected
  in the top level entities.
  
  @param \Cake\ORM\Table $source The table having the top level associations
  @param string[] $associations The name of the top level associations
  @return array
docstring_tokens: Returns a map of property names where the association results should be injected in the top level entities .