Comparing
#43 with
#44
Content
[...]
3rd = custom scope
Each validator (see Yii2)
------------------------------------
If you need the "each validator" (for validating array of values) which is available in Yii2, you can paste this method to your model and use it as the validator. Do not forget to specify validation rules for the particular values as well! See examples below.
```php
public function each($attribute, $params)
{
$attr = $this->$attribute;[...]