public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | |
return | boolean |
public function offsetExists($offset)
{
$this->initialize();
return isset($this->queryResult[$offset]);
}
/** * @test */ public function offsetUnsetWorksAsExpected() { $this->queryResult->offsetUnset(0); $this->assertFalse($this->queryResult->offsetExists(0)); }