Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matcher::setAnnotationReader($reader) #26

Closed
koriym opened this issue Jul 16, 2014 · 0 comments
Closed

Matcher::setAnnotationReader($reader) #26

koriym opened this issue Jul 16, 2014 · 0 comments
Labels

Comments

@koriym
Copy link
Member

koriym commented Jul 16, 2014

Enable to set cached annotation reader for Matcher.
This annotation set statically for further use at Matcher.

<?php

use Doctrine\Common\Annotations\CachedReader;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Cache\ApcCache;

$reader = new CachedReader(new AnnotationReader(new ApcCache));
Matcher::setAnnotationReader($reader);
@koriym koriym added the Feature label Jul 16, 2014
koriym added a commit that referenced this issue Jul 16, 2014
set annotation reader statically for cached annotation reader.
@koriym koriym closed this as completed Aug 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant