offsetUnset() public method

This method has no effect on the persisted objects but only on the result set
See also: ArrayAccess::offsetUnset()
public offsetUnset ( mixed $offset ) : void
$offset mixed
return void
コード例 #1
0
 /**
  * @test
  */
 public function offsetUnsetWorksAsExpected()
 {
     $this->queryResult->offsetUnset(0);
     $this->assertFalse($this->queryResult->offsetExists(0));
 }