Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.
AnnotationReader $reader The AnnotationReader to use, duck-typed.:
string|array $paths One or multiple paths where mapping classes can be found.:
public function __construct($reader, $paths = null) {
$this->reader = $reader;
if ($paths) {
$this
->addPaths((array) $paths);
}
}