Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function __construct(array $methodBindings) |
||
19 | { |
||
20 | // Convert objects to string representations if needed |
||
21 | $stringBindings = []; |
||
22 | foreach ($methodBindings as $method => $interceptors) { |
||
23 | $stringBindings[$method] = array_map('strval', $interceptors); |
||
24 | } |
||
25 | $this->methodBindings = $stringBindings; |
||
26 | } |
||
56 | } |