| 1 | <?php declare(strict_types = 1); |
||
| 15 | class ServiceReference implements ReferenceInterface |
||
| 16 | { |
||
| 17 | /** @var string Service name */ |
||
| 18 | protected $name; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * ServiceReference constructor. |
||
| 22 | * |
||
| 23 | * @param string $name Service name |
||
| 24 | */ |
||
| 25 | public function __construct(string $name) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getName(): string |
||
| 37 | } |
||
| 38 |