1 | <?php |
||
21 | trait SaveElementTrait |
||
22 | { |
||
23 | use PopulateTrait, ManageElementTrait; |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | * @param ElementInterface $element |
||
28 | * @throws \Throwable |
||
29 | * @throws \craft\errors\ElementNotFoundException |
||
30 | * @throws \yii\base\Exception |
||
31 | * @throws \yii\web\UnauthorizedHttpException |
||
32 | */ |
||
33 | public function runInternal(ElementInterface $element) |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | * @param ElementInterface $element |
||
53 | * @throws \Throwable |
||
54 | * @throws \craft\errors\ElementNotFoundException |
||
55 | * @throws \yii\base\Exception |
||
56 | */ |
||
57 | protected function performAction(ElementInterface $element): bool |
||
61 | } |
||
62 |