1 | <?php |
||
21 | class Dissociate extends AbstractAssociationAction |
||
22 | { |
||
23 | /** |
||
24 | * @param string $field |
||
25 | * @param string $element |
||
26 | * @param string $objectId |
||
27 | * @param int|null $siteId |
||
28 | * @return mixed |
||
29 | * @throws HttpException |
||
30 | */ |
||
31 | public function run( |
||
58 | |||
59 | /** |
||
60 | * @inheritdoc |
||
61 | * @param ObjectAssociation $model |
||
62 | * @throws \flipbox\ember\exceptions\RecordNotFoundException |
||
63 | * @throws \yii\db\Exception |
||
64 | */ |
||
65 | protected function performAction(Model $model): bool |
||
75 | } |
||
76 |