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