yiisoft/yii2 — pull request #3471 by creocoder (2014-05-14 14:27:34+00:00)
Title: [WIP] Improve `in` validator to properly support array attributes

Use case:

```php
public function rules()
{
return [
[['sectionIds'], 'in', 'range' => [Section::BOOKING, Section::REPRESENTATIVE, Section::CREATIVE],
];
}
```