| 1 | <?php declare(strict_types = 1); |
||
| 20 | class Name implements ClassConfiguratorInterface, AttributeConfiguratorInterface |
||
| 21 | { |
||
| 22 | /** @var string Configurator key */ |
||
| 23 | const KEY = 'name'; |
||
| 24 | |||
| 25 | /** @var string Dependency name */ |
||
| 26 | protected $name; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Dependency name collection configurator constructor. |
||
| 30 | * |
||
| 31 | * @param string $name Dependency name |
||
| 32 | */ |
||
| 33 | 1 | public function __construct(string $name) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritDoc} |
||
| 40 | */ |
||
| 41 | 1 | public function toClassMetadata(ClassMetadata $classMetadata) |
|
| 45 | } |
||
| 46 |