AbstractMessageBody
in package
AbstractYes
An abstract request message.
Table of Contents
Methods
- __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(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
__toString()
public
final __toString() : 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