Doctrine\Common\Persistence\Mapping\Driver\AnnotationDriver::__construct
Initializes a new AnnotationDriver that uses the given AnnotationReader for reading docblock annotations.
Signature
public function __construct(AnnotationReader
$reader,
[string|array
$paths = null] )
Parameters
$reader
— object- The AnnotationReader to use, duck-typed.
$paths
— object- One or multiple paths where mapping classes can be found.