Skip to content
Aleksandar Jovanovic edited this page Apr 5, 2015 · 1 revision

DbMockLibrary\MySQL

MySQL extends AbstractImplementation class and is therefore singleton. It provides wrapper for MySQL implementation of the library. Usage examples

For additional help, look at the tests, additional input scenarios are tested. initMySQL(array $initialData, $serverName, $database, $username, $password, array $dependencies)

Initializes connection to MySQL database as well as dummy data and dependency data.

MySQL::initMySQL(['collection' => 'row' => ['field' => 1]], 'localhost', 'foo', 'root', '', [])