Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class AopInfo |
||
11 | { |
||
12 | /** @var array<string, list<string>> */ |
||
|
|||
13 | public $methodBindings; |
||
14 | |||
15 | /** |
||
16 | * @param array<string, list<string>|list<object>> $methodBindings |
||
17 | */ |
||
18 | public function __construct(array $methodBindings) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Check if any AOP bindings exist |
||
30 | */ |
||
31 | public function hasBindings(): bool |
||
32 | { |
||
33 | return !empty($this->methodBindings); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Convert to string representation for compatibility |
||
38 | */ |
||
39 | public function __toString(): string |
||
55 | } |
||
56 | } |