1 | <?php |
||
16 | class Collection implements ValueFormatter |
||
17 | { |
||
18 | /** |
||
19 | * @var ValueFormatter[] |
||
20 | */ |
||
21 | private $formatters; |
||
22 | |||
23 | /** |
||
24 | * @param ValueFormatter[] $formatters |
||
25 | */ |
||
26 | public function __construct(array $formatters) |
||
30 | |||
31 | /** |
||
32 | * @param iterable $value |
||
33 | * @return array|mixed |
||
34 | */ |
||
35 | public function format($value) |
||
60 | } |
||
61 |