| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class InstanceDefinition implements InstanceDefinitionInterface |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | private $serviceName; |
||
| 14 | |||
| 15 | /** @var mixed */ |
||
| 16 | private $instance; |
||
| 17 | |||
| 18 | 4 | public function __construct(string $serviceName, $instance) |
|
| 19 | { |
||
| 20 | 4 | $this->serviceName = $serviceName; |
|
| 21 | 4 | $this->instance = $instance; |
|
| 22 | 4 | } |
|
| 23 | |||
| 24 | /** @return string */ |
||
| 25 | 2 | public function getServiceName() |
|
| 28 | } |
||
| 29 | |||
| 30 | /** @return mixed */ |
||
| 31 | 2 | public function getInstance() |
|
| 34 | } |
||
| 35 | |||
| 37 |