Skip to content

Commit

Permalink
add Matcher:: setAnnotationReader for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Aug 14, 2014
1 parent ac85622 commit 790820f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Matcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
namespace Ray\Aop;

use Ray\Aop\Exception\InvalidAnnotation;
use Doctrine\Common\Annotations\Reader;

class Matcher extends AbstractMatcher implements Matchable
{
Expand Down Expand Up @@ -109,4 +110,14 @@ public function isAnnotateBinding()

return $isAnnotateBinding;
}

/**
* @param Reader $reader
*
* @deprecated
*/
public static function setAnnotationReader(Reader $reader)
{
Match::setAnnotationReader($reader);
}
}

0 comments on commit 790820f

Please sign in to comment.