| 1 | <?php |
||
| 15 | class UpdateCollectionElement extends AbstractCollectionElement |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Хеш значения элемента коллекции с которым сравнивают |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $targetHash; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Элемент коллекции с которым сравнивают |
||
| 26 | * |
||
| 27 | * @var ElementInterface |
||
| 28 | */ |
||
| 29 | private $targetCollectionElement; |
||
| 30 | |||
| 31 | /*** |
||
| 32 | * UpdateCollectionElement constructor. |
||
| 33 | * |
||
| 34 | * @param DiffCollectionElementBuilder $builder |
||
| 35 | */ |
||
| 36 | public function __construct(DiffCollectionElementBuilder $builder) |
||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getTargetHash() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return ElementInterface |
||
| 55 | */ |
||
| 56 | public function getTargetCollectionElement() |
||
| 60 | |||
| 61 | |||
| 62 | } |
||
| 63 |