CodeExplorer MissingMappingDriverImplementation example
public static function createInstance( Connection
$conn,
Configuration
$config,
?EventManager
$eventManager = null,
?QueryOperatorValidator
$operatorValidator = null
) { if (!
$config->
getMetadataDriverImpl()) { throw new MissingMappingDriverImplementation();
} if ($eventManager !== null &&
$conn->
getEventManager() !==
$eventManager) { throw new MismatchedEventManager();
} if ($operatorValidator === null
) { $operatorValidator =
new QueryOperatorValidator();
} return new self($conn,
$config,
$operatorValidator);
}