From 790820f737521732de46d5c29b74713c94590f3d Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Fri, 15 Aug 2014 03:39:05 +0900 Subject: [PATCH] add Matcher:: setAnnotationReader for compatibility --- src/Matcher.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); + } }