| 1 | <?php |
||
| 19 | class Delete extends DeleteModel |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @param int|string $identifier |
||
| 23 | * @return Visitor|mixed|null |
||
| 24 | */ |
||
| 25 | protected function find($identifier) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @inheritDoc |
||
| 32 | * @param Visitor $record |
||
| 33 | * @throws \Throwable |
||
| 34 | * @throws \yii\db\StaleObjectException |
||
| 35 | */ |
||
| 36 | protected function performAction(Model $record): bool |
||
| 40 | } |
||
| 41 |