1 | <?php |
||
23 | class FormulaHydrator extends GeneratedHydrator |
||
24 | { |
||
25 | /** |
||
26 | * @var FormulaEngineInterface|FormulaEngine |
||
27 | */ |
||
28 | protected $formulaEngine; |
||
29 | |||
30 | public function __construct( |
||
37 | |||
38 | public function hydrate(array $data, $object) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | * @param object|Money $object |
||
47 | */ |
||
48 | public function extract($object) |
||
54 | |||
55 | /** |
||
56 | * @param string $className |
||
57 | * @param array $data |
||
58 | * @throws \ReflectionException |
||
59 | * @return object |
||
60 | */ |
||
61 | public function createEmptyInstance(string $className, array $data = []) |
||
67 | } |
||
68 |