public function setMetadataDriverImpl(MappingDriver $driverImpl, $useBuildInDocumentsDriver = true)
    {
        if ($useBuildInDocumentsDriver) {
            $driverImpl = new BuiltinDocumentsDriver($driverImpl);
        }
        $this->attributes['metadataDriverImpl'] = $driverImpl;
    }
public function setMetadataDriverImpl(MappingDriver $driverImpl, $useBuildInDocumentsDriver = true)
    {
        if ($useBuildInDocumentsDriver) {
            $driverImpl = new BuiltinDocumentsDriver($driverImpl);
        }
        $this->attributes['metadataDriverImpl'] = $driverImpl;
    }
public function setMetadataDriverImpl ( MappingDriver $ driverImpl , $ useBuildInDocumentsDriver = true ) { if ( $ useBuildInDocumentsDriver ) { $ driverImpl = new BuiltinDocumentsDriver ( $ driverImpl ) ; } $ this -> attributes [ 'metadataDriverImpl' ] = $ driverImpl ; }
Sets the driver implementation that is used to retrieve mapping metadata.

@param MappingDriver $driverImpl

@todo Force parameter to be a Closure to ensure lazy evaluation
(as soon as a metadata cache is in effect, the driver never needs to initialize).
Sets the driver implementation that is used to retrieve mapping metadata .