mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +08:00
21 lines
378 B
PHP
21 lines
378 B
PHP
<?php
|
|
|
|
namespace GuzzleHttp\Event;
|
|
|
|
/**
|
|
* Basic event class that can be extended.
|
|
*/
|
|
abstract class AbstractEvent implements EventInterface
|
|
{
|
|
private $propagationStopped = false;
|
|
|
|
public function isPropagationStopped()
|
|
{
|
|
return $this->propagationStopped;
|
|
}
|
|
|
|
public function stopPropagation()
|
|
{
|
|
$this->propagationStopped = true;
|
|
}
|
|
}
|