1 | <?php |
||
20 | trait ManageElementTrait |
||
21 | { |
||
22 | use ManageTrait { |
||
23 | runInternal as traitRunInternal; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @inheritdoc |
||
28 | * @param ElementInterface $element |
||
29 | */ |
||
30 | abstract protected function performAction(ElementInterface $element): bool; |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | * @param ElementInterface $element |
||
35 | * @return ElementInterface |
||
36 | */ |
||
37 | protected function runInternal(ElementInterface $element) |
||
41 | } |
||
42 |