| 1 | <?php |
||
| 8 | class CopyEvent extends AbstractCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $originalEventId; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var CalendarInterface |
||
| 17 | */ |
||
| 18 | private $calendar; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * CopyEvent constructor. |
||
| 22 | * @param string $eventId |
||
| 23 | * @param string $originalEventId |
||
| 24 | * @param CalendarInterface $calendar |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getOriginalEventId() |
||
| 41 | { |
||
| 42 | return $this->originalEventId; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return CalendarInterface |
||
| 47 | */ |
||
| 48 | public function getCalendar() |
||
| 52 | } |
||
| 53 |