Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 10 |
CRAP | |
0.00% |
0 / 10 |
MySQLEmptyResult | |
0.00% |
0 / 1 |
|
0.00% |
0 / 10 |
110 | |
0.00% |
0 / 10 |
hasNext | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getNext | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
close | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getBooleanValue | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getIntegerValue | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getFloatValue | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getStringValue | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getDateTime | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getObject | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
getArray | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
<?php | |
declare(strict_types = 1); | |
namespace Siesta\Driver\MySQL; | |
use Siesta\Database\ResultSet; | |
/** | |
* @author Gregor Müller | |
*/ | |
class MySQLEmptyResult implements ResultSet | |
{ | |
public function hasNext() : bool | |
{ | |
return false; | |
} | |
public function getNext() : array | |
{ | |
return []; | |
} | |
public function close() | |
{ | |
} | |
public function getBooleanValue(string $key) | |
{ | |
return null; | |
} | |
public function getIntegerValue(string $key) | |
{ | |
return null; | |
} | |
public function getFloatValue(string $key) | |
{ | |
return null; | |
} | |
public function getStringValue(string $key) | |
{ | |
return null; | |
} | |
public function getDateTime(string $key) | |
{ | |
return null; | |
} | |
public function getObject(string $key) | |
{ | |
return null; | |
} | |
public function getArray(string $key) | |
{ | |
return null; | |
} | |
} |