clear() 공개 메소드

Removes all items in the stack.
public clear ( )
예제 #1
0
 public function testClear()
 {
     $stack = new TStack(array(1, 2, 3));
     $stack->clear();
     self::assertEquals(array(), $stack->toArray());
 }