示例#1
0
文件: Parser.php 项目: kdyby/aop
 protected function parseMethodAnnotatedWith(TokenIterator $tokens)
 {
     $tokens->nextUntil(self::TOK_IDENTIFIER);
     $annotation = $tokens->nextValue();
     $tokens->nextToken();
     // )
     return $this->matcherFactory->getMatcher('methodAnnotatedWith', $annotation);
 }