| @@ 160-168 (lines=9) @@ | ||
| 157 | /** |
|
| 158 | * {@inheritdoc} |
|
| 159 | */ |
|
| 160 | public function updateMajorInfo($eventId, Title $title, EventType $eventType, Location $location, CalendarInterface $calendar, $theme = null) |
|
| 161 | { |
|
| 162 | $this->guardId($eventId); |
|
| 163 | ||
| 164 | return $this->commandBus->dispatch( |
|
| 165 | new UpdateMajorInfo($eventId, $title, $eventType, $location, $calendar, $theme) |
|
| 166 | ); |
|
| 167 | } |
|
| 168 | ||
| 169 | /** |
|
| 170 | * @inheritdoc |
|
| 171 | */ |
|
| @@ 121-128 (lines=8) @@ | ||
| 118 | /** |
|
| 119 | * {@inheritdoc} |
|
| 120 | */ |
|
| 121 | public function updateMajorInfo($id, Title $title, EventType $eventType, Address $address, CalendarInterface $calendar, Theme $theme = null) |
|
| 122 | { |
|
| 123 | $this->guardId($id); |
|
| 124 | ||
| 125 | return $this->commandBus->dispatch( |
|
| 126 | new UpdateMajorInfo($id, $title, $eventType, $address, $calendar, $theme) |
|
| 127 | ); |
|
| 128 | } |
|
| 129 | ||
| 130 | /** |
|
| 131 | * @inheritdoc |
|