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:
parent
816ce41f63
commit
07e1c1e2e1
@ -97,6 +97,16 @@ class AnnotationDriver implements Driver
|
|||||||
return $this->_paths;
|
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
|
* Get the file extension used to look for mapping files under
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user