| 1 | <?php |
||
| 14 | class MoveEvent extends AbstractEvent |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var object |
||
| 18 | */ |
||
| 19 | private $document; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $destId; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $destName; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param object $document |
||
| 33 | * @param string $destId |
||
| 34 | */ |
||
| 35 | public function __construct($document, $destId) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function getDebugMessage() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return object |
||
| 56 | */ |
||
| 57 | public function getDocument() |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | public function getDestId() |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param string $name |
||
| 72 | */ |
||
| 73 | public function setDestName($name) |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @return bool |
||
| 80 | */ |
||
| 81 | public function hasDestName() |
||
| 85 | |||
| 86 | /** |
||
| 87 | * @return string |
||
| 88 | * |
||
| 89 | * @throws \RuntimeException |
||
| 90 | */ |
||
| 91 | public function getDestName() |
||
| 104 | } |
||
| 105 |