This method is needed to implement the \ArrayAccess interface,
but it isn't very useful as the offset has to be an integer
public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | |
return | boolean |
/** * @test */ public function offsetUnsetWorksAsExpected() { $this->queryResult->offsetUnset(0); $this->assertFalse($this->queryResult->offsetExists(0)); }