Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
55 | public function matches($point, $context = null, $instance = null, array $arguments = null) |
||
56 | { |
||
57 | $isMatchesPre = $this->pointcut->getClassFilter()->matches($context); |
||
58 | if (!$isMatchesPre) { |
||
59 | return true; |
||
60 | } |
||
61 | $isMatchesPoint = $this->pointcut->matches($point, $context, $instance, $arguments); |
||
62 | if (!$isMatchesPoint) { |
||
63 | return true; |
||
64 | } |
||
65 | |||
66 | return false; |
||
67 | } |
||
68 | |||
79 |