1 | <?php |
||
21 | class DissociateObject extends Action |
||
22 | { |
||
23 | use ManageTrait, |
||
24 | ResolverTrait; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | public $statusCodeSuccess = 201; |
||
30 | |||
31 | /** |
||
32 | * @param string $field |
||
33 | * @param string $element |
||
34 | * @param string $objectId |
||
35 | * @param int|null $siteId |
||
36 | * @return bool|mixed |
||
37 | * @throws HttpException |
||
38 | */ |
||
39 | public function run( |
||
61 | |||
62 | /** |
||
63 | * @param IntegrationAssociation $record |
||
64 | * @return bool |
||
65 | * @throws \Throwable |
||
66 | * @throws \yii\db\StaleObjectException |
||
67 | */ |
||
68 | protected function performAction(IntegrationAssociation $record): bool |
||
72 | } |
||
73 |