diff --git a/src/Matcher.php b/src/Matcher.php index 9416c469..2a030c3c 100644 --- a/src/Matcher.php +++ b/src/Matcher.php @@ -7,6 +7,7 @@ namespace Ray\Aop; use Ray\Aop\Exception\InvalidAnnotation; +use Doctrine\Common\Annotations\Reader; class Matcher extends AbstractMatcher implements Matchable { @@ -109,4 +110,14 @@ public function isAnnotateBinding() return $isAnnotateBinding; } + + /** + * @param Reader $reader + * + * @deprecated + */ + public static function setAnnotationReader(Reader $reader) + { + Match::setAnnotationReader($reader); + } }