This object is used to deal with a parsed stream

uses an item from the stream
package OWR
subpackage Stream
used_by \OWR\CLI\Controller

 Methods

Constructor

__construct(array $stream) 
access public
author Pierre-Alain Mignot

Parameters

$stream

array

the stream to represent

Getter

__get(string $var) : mixed
access public
author Pierre-Alain Mignot

Parameters

$var

string

the var

Returns

mixedthe value on success or false

Getter

get(string $type) : mixed
access public
author Pierre-Alain Mignot

Parameters

$type

string

what do we want ?

Returns

mixedthe value on success or false

Checks the stream is not empty

hasItems() : boolean
access public
author Pierre-Alain Mignot

Returns

booleantrue if not empty

 Properties

 

the stream

$_stream : array
access private
 

version of stream (rss, rdf, atom)

$_version : string
access private