| 1 | <?php |
||
| 19 | class CreateProvider extends CreateRecord |
||
|
|
|||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @inheritdoc |
||
| 23 | */ |
||
| 24 | public $validBodyParams = [ |
||
| 25 | 'handle', |
||
| 26 | 'scopes', |
||
| 27 | 'class', |
||
| 28 | 'enabled' |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritdoc |
||
| 33 | * @return Provider |
||
| 34 | */ |
||
| 35 | protected function newRecord(array $config = []): ActiveRecord |
||
| 47 | } |
||
| 48 |