1 | <?php |
||
14 | class ModuleResponseSerializer implements DispatchableSerializer { |
||
15 | |||
16 | /** |
||
17 | * @var Serializer |
||
18 | */ |
||
19 | private $nodeSerializer; |
||
20 | |||
21 | 1 | public function __construct(Serializer $nodeSerializer) { |
|
24 | |||
25 | /** |
||
26 | * @see DispatchableSerializer::isSerializerFor |
||
27 | */ |
||
28 | 1 | public function isSerializerFor($object) { |
|
31 | |||
32 | /** |
||
33 | * @see Serializer::serialize |
||
34 | */ |
||
35 | 1 | public function serialize($object) { |
|
42 | |||
43 | 1 | private function getSerialization(ModuleResponse $response) { |
|
51 | } |
||
52 |