| Total Complexity | 4 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class MailerAccountSearch extends MailerAccount |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @inheritdoc |
||
| 15 | */ |
||
| 16 | public function rules() |
||
| 17 | { |
||
| 18 | return [ |
||
| 19 | [['domain_id'], 'integer'], |
||
| 20 | [['email'], 'string'], |
||
| 21 | ]; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | public function scenarios() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Creates data provider instance with search query applied |
||
| 35 | * |
||
| 36 | * @param array $params |
||
| 37 | * |
||
| 38 | * @return ActiveDataProvider |
||
| 39 | */ |
||
| 40 | public function search($params) |
||
| 68 | } |
||
| 69 | } |
||
| 70 |