@@ -152,6 +152,9 @@ |
||
| 152 | 152 | $this->children = $this->applyValueToElements($value, $this->children, $strict); |
| 153 | 153 | } |
| 154 | 154 | |
| 155 | + /** |
|
| 156 | + * @param Collection $value |
|
| 157 | + */ |
|
| 155 | 158 | protected function applyValueToElements($value, Collection $children, $strict = false) |
| 156 | 159 | { |
| 157 | 160 | return $children->map(function ($child) use ($strict, $value) { |