Пример #1
0
 public function matches(Method $method)
 {
     if ($method->isConstructor() || $method->isDestructor() || $method->isStatic()) {
         return false;
     }
     foreach ($this->pointCuts as $pointCut) {
         if ($pointCut->matches($method)) {
             return true;
         }
     }
     return false;
 }