Hoa central
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Hoa\Stream\Composite Class Reference
Inheritance diagram for Hoa\Stream\Composite:

Public Member Functions

 getInnerStream ()
 

Protected Member Functions

 setStream ($stream)
 
 getStream ()
 
 setInnerStream (Stream $innerStream)
 

Protected Attributes

 $_stream = null
 
 $_innerStream = null
 

Detailed Description

Class .

Declare a composite stream, i.e. a stream that use stream.

Definition at line 47 of file Composite.php.

Member Function Documentation

Hoa\Stream\Composite::getInnerStream ( )

Get inner stream.

Returns

Definition at line 108 of file Composite.php.

109  {
110  return $this->_innerStream;
111  }

Here is the caller graph for this function:

Hoa\Stream\Composite::getStream ( )
protected

Get current stream.

Returns
object

Definition at line 84 of file Composite.php.

85  {
86  return $this->_stream;
87  }
Hoa\Stream\Composite::setInnerStream ( Stream  $innerStream)
protected

Set inner stream.

Parameters
\Hoa\Stream$innerStreamInner stream.
Returns

Definition at line 95 of file Composite.php.

96  {
97  $old = $this->_innerStream;
98  $this->_innerStream = $innerStream;
99 
100  return $old;
101  }

Here is the caller graph for this function:

Hoa\Stream\Composite::setStream (   $stream)
protected

Set current stream.

Parameters
object$streamCurrent stream.
Returns
object

Definition at line 71 of file Composite.php.

72  {
73  $old = $this->_stream;
74  $this->_stream = $stream;
75 
76  return $old;
77  }

Here is the caller graph for this function:

Member Data Documentation

Hoa\Stream\Composite::$_innerStream = null
protected

Definition at line 61 of file Composite.php.

Hoa\Stream\Composite::$_stream = null
protected

Definition at line 54 of file Composite.php.


The documentation for this class was generated from the following file: