original_string: protected function map($dataRow)
      {
          $data = $this->getData($dataRow);
          $pmk = $this->getParentPrimaryKey();
          $entity = (isset($data[$pmk]) && $data[$pmk])
              ? $this->getParentEntityMapper()->createFrom($data)
              : null;
          return null == $entity ? null : $this->registerEntity($entity);
      }
code: protected function map($dataRow)
      {
          $data = $this->getData($dataRow);
          $pmk = $this->getParentPrimaryKey();
          $entity = (isset($data[$pmk]) && $data[$pmk])
              ? $this->getParentEntityMapper()->createFrom($data)
              : null;
          return null == $entity ? null : $this->registerEntity($entity);
      }
code_tokens: protected function map ( $ dataRow ) { $ data = $ this -> getData ( $ dataRow ) ; $ pmk = $ this -> getParentPrimaryKey ( ) ; $ entity = ( isset ( $ data [ $ pmk ] ) && $ data [ $ pmk ] ) ? $ this -> getParentEntityMapper ( ) -> createFrom ( $ data ) : null ; return null == $ entity ? null : $ this -> registerEntity ( $ entity ) ; }
docstring: Creates and maps related entity
  
  @param array $dataRow
  
  @return null|EntityCollection|EntityInterface|EntityInterface[]
docstring_tokens: Creates and maps related entity