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