Phive\Queue\Tests\Queue\Pdo\MysqlPdoQueueTest::createHandler PHP Method

createHandler() public static method

public static createHandler ( array $config )
$config array
    public static function createHandler(array $config)
    {
        return new PdoHandler(['dsn' => $config['PHIVE_PDO_MYSQL_DSN'], 'username' => $config['PHIVE_PDO_MYSQL_USERNAME'], 'password' => $config['PHIVE_PDO_MYSQL_PASSWORD'], 'table_name' => $config['PHIVE_PDO_MYSQL_TABLE_NAME']]);
    }
MysqlPdoQueueTest