AbstractMessageBody
in package
An abstract request message.
Table of Contents
- __set() : mixed
- The magic setter is overridden to insure immutability.
- __toString() : mixed
- getContent() : string
- getContentLength() : string
- getContentType() : string
Methods
__set()
The magic setter is overridden to insure immutability.
public
final __set( $name, $value) : mixed
Parameters
Return values
mixed —__toString()
public
final __toString() : mixed
Return values
mixed —getContent()
public
abstract getContent() : string
Return values
string —the content
getContentLength()
public
abstract getContentLength() : string
Return values
string —the Content-Length header
getContentType()
public
abstract getContentType() : string
Return values
string —the Content-Type header