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());
 }