trait driver_convertor

Driver convertor utility for Doctrine DBAL.

Methods

static string
to_doctrine_driver(string $driver_name)

Converts phpBB driver names to Doctrine's equivalent.

Details

at line 32
static string to_doctrine_driver(string $driver_name)

Converts phpBB driver names to Doctrine's equivalent.

Parameters

string $driver_name

phpBB database driver name.

Return Value

string

Doctrine DBAL's driver name.

Exceptions

InvalidArgumentException

If $driver_name is not a valid phpBB database driver.