public newDefaultAnnotationDriver ( array $paths = [] ) : |
||
$paths | array | |
return |
public function newDefaultAnnotationDriver($paths = array())
{
$reader = new \Doctrine\Common\Annotations\SimpleAnnotationReader();
$reader->addNamespace('Doctrine\\ODM\\CouchDB\\Mapping\\Annotations');
return new \Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver($reader, (array) $paths);
}