Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | class Proxy extends Binding |
||
8 | { |
||
9 | /** |
||
10 | * @param class-string $interface |
||
|
|||
11 | */ |
||
12 | 5 | public function __construct( |
|
13 | protected readonly string $interface, |
||
14 | public readonly bool $singleton = false, |
||
15 | ) { |
||
16 | 5 | } |
|
17 | |||
18 | public function __toString(): string |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return class-string |
||
25 | */ |
||
26 | 4 | public function getInterface(): string |
|
29 | } |
||
30 | } |
||
31 |