ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Slim\Http\Body Class Reference

Body. More...

+ Inheritance diagram for Slim\Http\Body:
+ Collaboration diagram for Slim\Http\Body:

Additional Inherited Members

- Public Member Functions inherited from Slim\Http\Stream
 __construct ($stream)
 Create a new Stream. More...
 
 getMetadata ($key=null)
 Get stream metadata as an associative array or retrieve a specific key. More...
 
 detach ()
 Separates any underlying resources from the stream. More...
 
 __toString ()
 Reads all data from the stream into a string, from the beginning to end. More...
 
 close ()
 Closes the stream and any underlying resources. More...
 
 getSize ()
 Get the size of the stream if known. More...
 
 tell ()
 Returns the current position of the file read/write pointer. More...
 
 eof ()
 Returns true if the stream is at the end of the stream. More...
 
 isReadable ()
 Returns whether or not the stream is readable. More...
 
 isWritable ()
 Returns whether or not the stream is writable. More...
 
 isSeekable ()
 Returns whether or not the stream is seekable. More...
 
 seek ($offset, $whence=SEEK_SET)
 Seek to a position in the stream. More...
 
 rewind ()
 Seek to the beginning of the stream. More...
 
 read ($length)
 Read data from the stream. More...
 
 write ($string)
 Write data to the stream. More...
 
 getContents ()
 Returns the remaining contents in a string. More...
 
 isPipe ()
 Returns whether or not the stream is a pipe. More...
 
- Data Fields inherited from Slim\Http\Stream
const FSTAT_MODE_S_IFIFO = 0010000
 Bit mask to determine if the stream is a pipe. More...
 
- Protected Member Functions inherited from Slim\Http\Stream
 isAttached ()
 Is a resource attached to this stream? More...
 
 attach ($newStream)
 Attach new resource to this object. More...
 
- Protected Attributes inherited from Slim\Http\Stream
 $stream
 
 $meta
 
 $readable
 
 $writable
 
 $seekable
 
 $size
 
 $isPipe
 
- Static Protected Attributes inherited from Slim\Http\Stream
static $modes
 

Detailed Description

Body.

This class represents an HTTP message body and encapsulates a streamable resource according to the PSR-7 standard.

https://github.com/php-fig/http-message/blob/master/src/StreamInterface.php

Definition at line 19 of file Body.php.


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