| 1 | <?php |
||
| 8 | abstract class AbstractReference |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $name; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Constructor for the container argument. |
||
| 17 | * |
||
| 18 | * @param string $name The service name. |
||
| 19 | */ |
||
| 20 | 4 | public function __construct($name) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Retrieve the service name. |
||
| 27 | * |
||
| 28 | * @return string The service name. |
||
| 29 | */ |
||
| 30 | 4 | public function getName() |
|
| 34 | } |
||
| 35 |