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