1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Added method to retrieve currently used Reader. This allows projects that use Doctrine to recycle the reader to use with other annotation-driven packages, like DMS\Filter and Symfony\Validator

This commit is contained in:
Rafael Dohms 2011-08-10 15:10:09 -03:00
parent 816ce41f63
commit 07e1c1e2e1

View File

@ -97,6 +97,16 @@ class AnnotationDriver implements Driver
return $this->_paths;
}
/**
* Retrieve the current annotation reader
*
* @return AnnotationReader
*/
public function getReader()
{
return $this->_reader;
}
/**
* Get the file extension used to look for mapping files under
*