1 | <?php declare(strict_types = 1); |
||
26 | class Instance implements ClassConfiguratorInterface, PropertyConfiguratorInterface, ParameterConfiguratorInterface, CollectionAttributeConfiguratorInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var string Configurator key |
||
30 | */ |
||
31 | const CONFIGURATOR_KEY = 'class'; |
||
32 | |||
33 | /** |
||
34 | * @var string Dependency class name |
||
35 | */ |
||
36 | protected $className; |
||
37 | |||
38 | /** |
||
39 | * Class collection configurator constructor. |
||
40 | * |
||
41 | * @param string $className Class name |
||
42 | */ |
||
43 | 1 | public function __construct(string $className) |
|
47 | |||
48 | /* {@inheritDoc} */ |
||
49 | 1 | public function toClassMetadata(ClassMetadata $classMetadata) |
|
53 | |||
54 | /* {@inheritDoc} */ |
||
55 | 1 | public function toPropertyMetadata(PropertyMetadata $propertyMetadata) |
|
59 | |||
60 | /* {@inheritDoc} */ |
||
61 | 1 | public function toParameterMetadata(ParameterMetadata $parameterMetadata) |
|
65 | } |
||
66 |