| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | trait InteractsWithContainer |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Mock the given bound target |
||
| 15 | * |
||
| 16 | * @param string $target |
||
| 17 | * @param mixed ...$parameters |
||
| 18 | * @return static |
||
| 19 | */ |
||
| 20 | 6 | public function mocks(string $target, ...$parameters): static |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Partially mock the given bound target |
||
| 31 | * |
||
| 32 | * @param string $target |
||
| 33 | * @param mixed ...$parameters |
||
| 34 | * @return static |
||
| 35 | */ |
||
| 36 | 1 | public function partiallyMocks(string $target, ...$parameters): static |
|
| 45 |