1<?php 2 3namespace dokuwiki\plugin\slacknotifier\event; 4 5use dokuwiki\Extension\Event; 6use InvalidArgumentException; 7 8/** 9 * @property string $src_id 10 * @property string $dst_id 11 * @link https://www.dokuwiki.org/plugin:move#for_plugin_authors 12 */ 13class PageMoveEvent extends BaseEvent 14{ 15 /** @var PageSaveEvent|null */ 16 private $createdPageEvent; 17 18 public function setCreatedPageEvent(PageSaveEvent $event) 19 { 20 $this->createdPageEvent = $event; 21 } 22 23 public function getCreatedPageEvent(): ?PageSaveEvent 24 { 25 return $this->createdPageEvent; 26 } 27} 28