public function matches(InfoInterface $info) { foreach ($info->getAnnotationCandidates() as $anno) { if (preg_match($this->annotationRegex, $anno)) { return new PointcutMatch(); } } }