isPropagationStopped() public method

Check if propagation has been stopped
public isPropagationStopped ( ) : boolean
return boolean
Beispiel #1
0
 /**
  * @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());
 }