PHP Classes

File: tests/QTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   EasyDB   tests/QTest.php   Download  
File: tests/QTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change: single-lining test classes after composer run fix-style
running composer run fix-style
Date: 6 years ago
Size: 349 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);

namespace
ParagonIE\EasyDB\Tests;

use
ParagonIE\EasyDB\EasyDB;

class
QTest extends RunTest
{
    protected function
getResultForMethod(EasyDB $db, $statement, $offset, $params)
    {
       
$args = $params;
       
array_unshift($args, $statement);

        return
call_user_func_array([$db, 'q'], $args);
    }
}