getSubscribedEvents() публичный Метод

Get subscribed doctrine orm events.
public getSubscribedEvents ( ) : array
Результат array
 public function testGetSubscribedEvents()
 {
     $this->assertEquals(array(Events::postPersist, Events::postUpdate, Events::preRemove), $this->proxy->getSubscribedEvents());
     foreach ($this->proxy->getSubscribedEvents() as $event) {
         $this->assertTrue(is_callable(array($this->proxy, $event)), "{$event} is not callable");
     }
 }