Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
CallbackStream Class Reference

Implementation of PSR HTTP streams. More...

Public Member Functions

 __construct (callable $callback)
 
 __toString ()
 {}
 
 close ()
 {}
 
 detach ()
 {}
 
 attach (callable $callback)
 Attach a new callback to the instance.
 
 getSize ()
 {}
 
 tell ()
 {}
 
 eof ()
 {}
 
 isSeekable ()
 {}
 
 seek ($offset, $whence=SEEK_SET)
 {}
 
 rewind ()
 {}
 
 isWritable ()
 {}
 
 write ($string)
 {}
 
 isReadable ()
 {}
 
 read ($length)
 {}
 
 getContents ()
 {}
 
 getMetadata ($key=null)
 {}
 

Protected Attributes

 $callback
 

Detailed Description

Implementation of PSR HTTP streams.

Constructor & Destructor Documentation

__construct ( callable  $callback)
Parameters
callable$callback
Exceptions
InvalidArgumentException

Member Function Documentation

__toString ( )

{}

attach ( callable  $callback)

Attach a new callback to the instance.

Parameters
callable$callback
Exceptions
InvalidArgumentExceptionfor callable callback
close ( )

{}

detach ( )

{}

eof ( )

{}

getContents ( )

{}

getMetadata (   $key = null)

{}

getSize ( )

{}

isReadable ( )

{}

isSeekable ( )

{}

isWritable ( )

{}

read (   $length)

{}

rewind ( )

{}

seek (   $offset,
  $whence = SEEK_SET 
)

{}

tell ( )

{}

write (   $string)

{}

Member Data Documentation

$callback
protected