| 1 | <?php |
||
| 13 | abstract class AbstractDiff |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Путь до элемента |
||
| 17 | * |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $pathToElement; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * AbstractDiff constructor. |
||
| 24 | * |
||
| 25 | * @param \Nnx\FormComparator\Comparator\DiffElementBuilder $builder |
||
| 26 | */ |
||
| 27 | public function __construct(DiffElementBuilder $builder) |
||
| 32 | |||
| 33 | |||
| 34 | /** |
||
| 35 | * Возвращает путь до элемента |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getPathToElement() |
||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | } |
||
| 47 |