1 | <?php |
||
21 | class Update extends UpdateModel |
||
22 | { |
||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | public $validBodyParams = [ |
||
27 | 'status' |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @param int|string $identifier |
||
32 | * @return Visitor|mixed|null |
||
33 | */ |
||
34 | protected function find($identifier) |
||
38 | |||
39 | /** |
||
40 | * @inheritDoc |
||
41 | * @param Visitor $record |
||
42 | */ |
||
43 | protected function performAction(Model $record): bool |
||
55 | } |
||
56 |