| 1 | <?php |
||
| 8 | final class MarkAsDuplicate implements AuthorizableCommandInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $duplicatePlaceId; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $canonicalPlaceId; |
||
| 19 | |||
| 20 | public function __construct(string $duplicatePlaceId, string $canonicalPlaceId) |
||
| 25 | |||
| 26 | public function getDuplicatePlaceId(): string |
||
| 30 | |||
| 31 | public function getCanonicalPlaceId(): string |
||
| 32 | { |
||
| 33 | return $this->canonicalPlaceId; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getItemId() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return Permission |
||
| 46 | */ |
||
| 47 | public function getPermission() |
||
| 51 | } |
||
| 52 |