| 1 | <?php |
||
| 20 | class DisableProvider extends Action |
||
| 21 | { |
||
| 22 | use ManageRecordTrait, LookupRecordTrait { |
||
| 23 | run as traitRun; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | public function run($provider) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritdoc |
||
| 36 | * @return Provider|null |
||
| 37 | */ |
||
| 38 | protected function find($id) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @inheritdoc |
||
| 49 | */ |
||
| 50 | protected function performAction(Provider $record): bool |
||
| 55 | |||
| 56 | |||
| 57 | } |
||
| 58 |