1 | <?php |
||
17 | final class FactoryService implements FactoryInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var ServiceInterface |
||
21 | */ |
||
22 | private $service; |
||
23 | |||
24 | /** |
||
25 | * @var array<Reference|string, string> |
||
26 | */ |
||
27 | private $factory; |
||
28 | |||
29 | /** |
||
30 | * @param ServiceInterface $service |
||
31 | * @param string|Reference $factory |
||
32 | * @param string $factoryMethod |
||
33 | */ |
||
34 | public function __construct(ServiceInterface $service, $factory, $factoryMethod) |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getName() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function getClass() |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function getArguments() |
||
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | public function getAutowiringTypes() |
||
71 | |||
72 | /** |
||
73 | * {@inheritdoc} |
||
74 | */ |
||
75 | public function getTags() |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | public function getFactory() |
||
87 | } |
||
88 |