toArray() 공개 메소드

public toArray ( ) : array
리턴 array the list of items in stack
예제 #1
0
 public function testPush()
 {
     $stack = new TStack();
     $stack->push(1);
     self::assertEquals(array(1), $stack->toArray());
 }