src/AbstractEntityService.php
protected function getEvent()
    {
        if (null === $this->event) {
            $this->event = $event = new EntityEvent;

            $event->setTarget($this);
        }

        return $this->event;
    }
protected function getEvent()
    {
        if (null === $this->event) {
            $this->event = $event = new EntityEvent;

            $event->setTarget($this);
        }

        return $this->event;
    }
protected function getEvent ( ) { if ( null === $ this -> event ) { $ this -> event = $ event = new EntityEvent ; $ event -> setTarget ( $ this ) ; } return $ this -> event ; }
Get the pre initialized event object

@return EntityEvent
Get the pre initialized event object