PHP Class RedUNIT\Base
This is the base class for all multi-driver Unit Tests.
By default base class derived tests will offer 'test rounds' for
all well known RedBeanPHP drivers: mysql (MySQL/MariaDB), pgsql (PostgreSQL),
sqlite (SQLite3) and CUBRID (CUBRID).
Show file
Open project: gabordemooij/redbean
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$driverList |
array |
Contains the list of database drivers as returned by getTargetDrivers(). |
|
Public Methods
Method |
Description |
|
addToDriverList ( string $driverID ) |
Adds a driver to the list. |
|
getTargetDrivers ( ) : array |
Returns a list of drivers for which this driver supports
'test rounds'. This class only supports all base drivers. |
|
Method Details
addToDriverList()
public static method
Adds a driver to the list.
getTargetDrivers()
public method
Returns a list of drivers for which this driver supports
'test rounds'. This class only supports all base drivers.
Property Details
$driverList protected static property
Contains the list of database drivers as returned by getTargetDrivers().
protected static array $driverList |
return |
array |
|