| 1 | <?php |
||
| 9 | final class JmsContextFactory |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param null|array $context |
||
| 13 | * |
||
| 14 | * @return SerializationContext |
||
| 15 | */ |
||
| 16 | public static function serialization(array $context = null) |
||
| 17 | { |
||
| 18 | return self::configureContext(SerializationContext::create(), $context); |
||
| 19 | } |
||
| 20 | |||
| 21 | public static function deserialization($context) |
||
| 25 | |||
| 26 | private static function configureContext(Context $jmsContext, array $context = null) |
||
| 44 | } |
||
| 45 |