1 | <?php |
||
13 | trait CollectionTrait |
||
14 | { |
||
15 | /** |
||
16 | * @param array $collection collection configuration. Each array element represents |
||
17 | * the configuration for one particular element. |
||
18 | * @param string $class the element class name |
||
19 | * @param array $config name-value pairs that will be used to initialize the object properties |
||
20 | * @throws \yii\base\InvalidConfigException |
||
21 | */ |
||
22 | 8 | protected function initElements(&$collection, $class, $config = []) |
|
33 | } |
||
34 |