1 | <?php |
||
18 | class Hydrator implements HydratorInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var Serializer |
||
22 | */ |
||
23 | protected $serializer; |
||
24 | |||
25 | public function __construct($cacheDir, $metaDirs) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function extract($object) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function hydrate($target, array $data) |
||
48 | |||
49 | /** |
||
50 | * Creates a default serializer context |
||
51 | * |
||
52 | * @return SerializationContext |
||
53 | */ |
||
54 | protected function createDefaultContext() |
||
58 | } |