original_string: public function afterSelect(Select $event)
      {
          if ($this->isLazyLoaded()) {
              return;
          }
          foreach ($event->getEntityCollection() as $index => $entity) {
              $row = $event->getData()[$index];
              $entity->{$this->propertyName} = $this->getFromMap($row);
          }
      }
code: public function afterSelect(Select $event)
      {
          if ($this->isLazyLoaded()) {
              return;
          }
          foreach ($event->getEntityCollection() as $index => $entity) {
              $row = $event->getData()[$index];
              $entity->{$this->propertyName} = $this->getFromMap($row);
          }
      }
code_tokens: public function afterSelect ( Select $ event ) { if ( $ this -> isLazyLoaded ( ) ) { return ; } foreach ( $ event -> getEntityCollection ( ) as $ index => $ entity ) { $ row = $ event -> getData ( ) [ $ index ] ; $ entity -> { $ this -> propertyName } = $ this -> getFromMap ( $ row ) ; } }
docstring: Handles the after select callback
  
  @param Select $event
docstring_tokens: Handles the after select callback