Pinq\Tests\Integration\Queries\QueryBuildingTestBase::__construct PHP Метод

__construct() публичный Метод

public __construct ( $name = null, array $data = [], $dataName = '' )
$data array
    public function __construct($name = null, array $data = array(), $dataName = '')
    {
        parent::__construct($name, $data, $dataName);
        $this->queryable = isset($data[0]) ? $data[0] : null;
        $this->repository = $this->queryable instanceof IRepository ? $this->queryable : null;
    }