22 if (
$result instanceof
self ) {
23 $this->result =
$result->result;
30 return count( $this->result );
46 return is_object( $row ) ? get_object_vars( $row ) : $row;
64 return is_array( $row ) ? (object)$row : $row;
67 public function key() {
78 return array_key_exists( $this->pos, $this->result );
85class_alias( FakeResultWrapper::class,
'FakeResultWrapper' );