getObject() public method

public getObject ( )
 /**
  * @param ObjectEvent $event
  */
 public function preUpdate(ObjectEvent $event)
 {
     $this->validator->validate($event->getObject());
 }
 /**
  * @param ObjectEvent $event
  */
 public function preUpdate(ObjectEvent $event)
 {
     $this->processor->process($event->getObject(), $event->getOriginal());
 }