1 | <?php |
||
10 | class Creator implements ServiceInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var RepositoryInterface |
||
14 | */ |
||
15 | protected $repository; |
||
16 | |||
17 | /** |
||
18 | * @var EntityFactoryInterface |
||
19 | */ |
||
20 | protected $entityFactory; |
||
21 | |||
22 | /** |
||
23 | * @var EventManagerInterface |
||
24 | */ |
||
25 | protected $eventManager; |
||
26 | |||
27 | /** |
||
28 | * @param RepositoryInterface $repository |
||
29 | * @param EntityFactoryInterface $entityFactory |
||
30 | * @param EventManagerInterface|null $eventManager |
||
31 | */ |
||
32 | public function __construct( |
||
41 | |||
42 | public function handle($criteria, $data) |
||
60 | } |
||
61 |