Check if propagation has been stopped
public isPropagationStopped ( ) : boolean | ||
Résultat | boolean |
/** * @covers Imbo\EventManager\Event::stopPropagation * @covers Imbo\EventManager\Event::isPropagationStopped */ public function testCanStopPropagation() { $this->assertFalse($this->event->isPropagationStopped()); $this->assertSame($this->event, $this->event->stopPropagation()); $this->assertTrue($this->event->isPropagationStopped()); }