| 1 | <?php |
||
| 10 | final class ImportSingleIcalEvent implements StoppableEventInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ICalEvent |
||
| 14 | */ |
||
| 15 | private $event; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var int |
||
| 19 | */ |
||
| 20 | private $pid; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var bool |
||
| 24 | */ |
||
| 25 | private $stopped = false; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * ImportSingleEvent constructor. |
||
| 29 | * |
||
| 30 | * @param ICalEvent $event |
||
| 31 | * @param int $pid |
||
| 32 | */ |
||
| 33 | public function __construct(ICalEvent $event, int $pid) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return ICalEvent |
||
| 41 | */ |
||
| 42 | public function getEvent(): ICalEvent |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return int |
||
| 49 | */ |
||
| 50 | public function getPid(): int |
||
| 54 | |||
| 55 | public function stop(): void |
||
| 59 | |||
| 60 | public function isPropagationStopped(): bool |
||
| 64 | } |
||
| 65 |