src/OpenTok/StreamList.php
public function getItems()
    {
        if (!is_array($this->items)) {
            $items = array();
            foreach ($this->data['items'] as $streamData) {
                $items[] = new Stream($streamData);
            }
            $this->items = $items;
        }
        return $this->items;
    }
public function getItems()
    {
        if (!is_array($this->items)) {
            $items = array();
            foreach ($this->data['items'] as $streamData) {
                $items[] = new Stream($streamData);
            }
            $this->items = $items;
        }
        return $this->items;
    }
public function getItems ( ) { if ( ! is_array ( $ this -> items ) ) { $ items = array ( ) ; foreach ( $ this -> data [ 'items' ] as $ streamData ) { $ items [ ] = new Stream ( $ streamData ) ; } $ this -> items = $ items ; } return $ this -> items ; }
Returns an array of Stream objects.

@return array
Returns an array of Stream objects .