| 1 | <?php |
||
| 16 | trait DependentElementImpl |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var RequestStack |
||
| 20 | */ |
||
| 21 | private $requestStack; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var Element |
||
| 25 | */ |
||
| 26 | private $parentElement; |
||
| 27 | |||
| 28 | public function setParentElement(Element $element) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return Element |
||
| 35 | */ |
||
| 36 | public function getParentElement() |
||
| 40 | |||
| 41 | public function setRequestStack(RequestStack $requestStack) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return object|null |
||
| 48 | */ |
||
| 49 | public function getParentObject() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | protected function getParentObjectId() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return DataIndexerInterface |
||
| 71 | */ |
||
| 72 | protected function getParentDataIndexer() |
||
| 80 | } |
||
| 81 |