1 | <?php declare(strict_types=1); |
||
8 | class Factory |
||
9 | { |
||
10 | const ANNOTATIONS = [ |
||
11 | Annotation\Collection::class => Annotation\Handler\CollectionHandler::class, |
||
12 | Annotation\Nested::class => Annotation\Handler\NestedHandler::class, |
||
13 | Annotation\Rename::class => Annotation\Handler\RenameHandler::class, |
||
14 | ]; |
||
15 | |||
16 | 9 | public static function create(LoopInterface $loop, CommandBusInterface $commandBus, array $options): Hydrator |
|
24 | |||
25 | 9 | protected static function annotations(array $annotations): array |
|
37 | } |
||
38 |