1 | <?php |
||
14 | class SerializerCollection extends Sequence |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * |
||
19 | * |
||
20 | * |
||
21 | * There isn't much to ordering here. |
||
22 | * Just use a numeric key and we will try tro sort later |
||
23 | * |
||
24 | * @param |
||
25 | * array of parameters $sequence |
||
26 | */ |
||
27 | 1 | public function __construct($serializers = []) |
|
36 | |||
37 | /** |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | 1 | public function toArray() |
|
45 | |||
46 | 1 | public function add($serializer) |
|
53 | } |
||
54 |