| 1 | <?php |
||
| 17 | class MoveCategoryRequest |
||
| 18 | { |
||
| 19 | /** @var CategoryInterface */ |
||
| 20 | private $child; |
||
| 21 | |||
| 22 | /** @var CategoryInterface */ |
||
| 23 | private $newParent; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * MoveCategoryRequest constructor. |
||
| 27 | * |
||
| 28 | * @param CategoryInterface $child |
||
| 29 | * @param CategoryInterface $newParent |
||
| 30 | */ |
||
| 31 | public function __construct(CategoryInterface $child, CategoryInterface $newParent) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return CategoryInterface |
||
| 39 | */ |
||
| 40 | public function getChild() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return CategoryInterface |
||
| 47 | */ |
||
| 48 | public function getNewParent() |
||
| 52 | } |