1 | <?php declare(strict_types=1); |
||
7 | class Factory |
||
8 | { |
||
9 | const ANNOTATIONS = [ |
||
10 | Annotations\Collection::class => Annotations\Handler\CollectionHandler::class, |
||
11 | Annotations\Nested::class => Annotations\Handler\NestedHandler::class, |
||
12 | Annotations\Rename::class => Annotations\Handler\RenameHandler::class, |
||
13 | ]; |
||
14 | |||
15 | 6 | public static function create(array $options = []): Hydrator |
|
25 | |||
26 | 6 | protected static function annotations(array $annotations): array |
|
38 | |||
39 | 6 | protected static function preheat(Hydrator $hydrator, array $options) |
|
49 | } |
||
50 |