| 1 | <?php |
||
| 12 | class SerializerFactory { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return Serializer |
||
| 16 | */ |
||
| 17 | 1 | public function newSimpleItemSerializer() { |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return Serializer |
||
| 26 | */ |
||
| 27 | public function newSimplePropertySerializer() { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string[] $propertyMap Maps property id (string) to stable property name |
||
| 35 | * @return Serializer |
||
| 36 | */ |
||
| 37 | 1 | public function newStableItemSerializer( array $propertyMap ) { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return Serializer |
||
| 47 | */ |
||
| 48 | public function newPropertyListSerializer() { |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return Serializer |
||
| 54 | */ |
||
| 55 | public function newItemListSerializer() { |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return Serializer |
||
| 61 | */ |
||
| 62 | public function newItemTypeSerializer() { |
||
| 65 | |||
| 66 | } |
||
| 67 |