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