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);
        }
    }
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);
        }
    }
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 ) ; } }
Handles the after select callback

@param Select $event
Handles the after select callback