| 1 | <?php |
||
| 5 | class ExtendServiceDefinition |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $serviceNameToInject; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $interfaceNameToHandle; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $methodNameToCall; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $serviceNameToInject |
||
| 24 | * @param string $interfaceNameToHandle |
||
| 25 | * @param string $methodNameToCall |
||
| 26 | */ |
||
| 27 | 5 | public function __construct(string $serviceNameToInject, string $interfaceNameToHandle, string $methodNameToCall) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | 3 | public function getServiceNameToInject(): string |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 5 | public function getInterfaceNameToHandle(): string |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 3 | public function getMethodNameToCall(): string |
|
| 57 | } |
||
| 58 |