Doctrine\ORM\Configuration::newDefaultAnnotationDriver
Add a new default annotation driver with a correctly configured annotation reader. If $useSimpleAnnotationReader is true, the notation `@Entity` will work, otherwise, the notation `@ORM\Entity` will be supported.
Signature
public function newDefaultAnnotationDriver(array
$paths,
[bool
$useSimpleAnnotationReader = true] )
Parameters
$paths
— array$useSimpleAnnotationReader
— object
Returns
- AnnotationDriver