public static function get(Configuration $configuration, array $paths = array(), array $params = array())
    {

        // query whether or not we want to use the simple annotation reader
        $useSimpleAnnotationReader = false;
        if (isset($params[DriverKeys::USE_SIMPLE_ANNOTATION_READER])) {
            $useSimpleAnnotationReader = $params[DriverKeys::USE_SIMPLE_ANNOTATION_READER];
        }

        // create and return the driver instance
        return $configuration->newDefaultAnnotationDriver($paths, $useSimpleAnnotationReader);
    }
public static function get(Configuration $configuration, array $paths = array(), array $params = array())
    {

        // query whether or not we want to use the simple annotation reader
        $useSimpleAnnotationReader = false;
        if (isset($params[DriverKeys::USE_SIMPLE_ANNOTATION_READER])) {
            $useSimpleAnnotationReader = $params[DriverKeys::USE_SIMPLE_ANNOTATION_READER];
        }

        // create and return the driver instance
        return $configuration->newDefaultAnnotationDriver($paths, $useSimpleAnnotationReader);
    }
public static function get ( Configuration $ configuration , array $ paths = array ( ) , array $ params = array ( ) ) { // query whether or not we want to use the simple annotation reader $ useSimpleAnnotationReader = false ; if ( isset ( $ params [ DriverKeys :: USE_SIMPLE_ANNOTATION_READER ] ) ) { $ useSimpleAnnotationReader = $ params [ DriverKeys :: USE_SIMPLE_ANNOTATION_READER ] ; } // create and return the driver instance return $ configuration -> newDefaultAnnotationDriver ( $ paths , $ useSimpleAnnotationReader ) ; }
Return's the new driver instance.

@param \Doctrine\ORM\Configuration $configuration The DBAL configuration to create the driver for
@param array                       $paths         The path to the driver configuration
@param array                       $params        The additional configuration params

@return \Doctrine\Common\Persistence\Mapping\Driver\MappingDriver The driver instance
Return s the new driver instance .