public function buildQuery(QueryContext $context) { return $this->pointcut->buildQuery($context); }
protected function findReturns(PointcutInterface $pointcut) { if ($pointcut instanceof ReturnsPointcut) { return $pointcut->getName(); } if ($pointcut instanceof NotFilter) { return $this->findReturns($pointcut->getFilter()); } if ($pointcut instanceof AndPointcut || $pointcut instanceof OrPointcut) { if ($args = $this->findReturns($pointcut->getFilter1())) { return $args; } return $this->findReturns($pointcut->getFilter2()); } }