Prado\Collections\TStack::toArray PHP 메소드

toArray() 공개 메소드

public toArray ( ) : array
리턴 array the list of items in stack
    public function toArray()
    {
        return $this->_d;
    }

Usage Example

예제 #1
0
 public function testPush()
 {
     $stack = new TStack();
     $stack->push(1);
     self::assertEquals(array(1), $stack->toArray());
 }