| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | final class BelongsToManyMethodExtension implements MethodsClassReflectionExtension, BrokerAwareExtension |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @var \PHPStan\Broker\Broker |
||
| 28 | */ |
||
| 29 | private $broker; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param \PHPStan\Broker\Broker $broker |
||
| 33 | */ |
||
| 34 | public function setBroker(Broker $broker): void |
||
| 35 | { |
||
| 36 | $this->broker = $broker; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function hasMethod(ClassReflection $classReflection, string $methodName): bool |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection |
||
| 57 |