1 | <?php |
||
19 | class SerializerRegistry implements SerializerRegistryInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var StatementSerializerInterface The statement serializer |
||
23 | */ |
||
24 | private $statementSerializer; |
||
25 | |||
26 | /** |
||
27 | * @var StatementResultSerializerInterface The statement result serializer |
||
28 | */ |
||
29 | private $statementResultSerializer; |
||
30 | |||
31 | /** |
||
32 | * @var ActorSerializerInterface The actor serializer |
||
33 | */ |
||
34 | private $actorSerializer; |
||
35 | |||
36 | /** |
||
37 | * @var DocumentDataSerializerInterface The document data serializer |
||
38 | */ |
||
39 | private $documentDataSerializer; |
||
40 | |||
41 | /** |
||
42 | * {@inheritDoc} |
||
43 | */ |
||
44 | public function setStatementSerializer(StatementSerializerInterface $serializer) |
||
48 | |||
49 | /** |
||
50 | * {@inheritDoc} |
||
51 | */ |
||
52 | public function getStatementSerializer() |
||
56 | |||
57 | /** |
||
58 | * {@inheritDoc} |
||
59 | */ |
||
60 | public function setStatementResultSerializer(StatementResultSerializerInterface $serializer) |
||
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | public function getStatementResultSerializer() |
||
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | public function setActorSerializer(ActorSerializerInterface $serializer) |
||
80 | |||
81 | /** |
||
82 | * {@inheritDoc} |
||
83 | */ |
||
84 | public function getActorSerializer() |
||
88 | |||
89 | /** |
||
90 | * {@inheritDoc} |
||
91 | */ |
||
92 | public function setDocumentDataSerializer(DocumentDataSerializerInterface $serializer) |
||
96 | |||
97 | /** |
||
98 | * {@inheritDoc} |
||
99 | */ |
||
100 | public function getDocumentDataSerializer() |
||
104 | } |
||
105 |