remove() 공개 메소드

Remove an element from the set Does nothing if the element does not exist in the set.
public remove ( mixed $x ) : Set
$x mixed
리턴 Set (this set)
예제 #1
0
 /**
  * @dataProvider dataProviderForRemove
  */
 public function testRemove(array $A, $x, array $R)
 {
     $setA = new Set($A);
     $setR = new Set($R);
     $setA->remove($x);
     $this->assertEquals($setR, $setA);
 }