Cli
class Cli extends Response_Abstract (View source)
Constants
DEFAULT_BODY |
|
Properties
protected string | $_header | from Response_Abstract | |
protected string | $_body | from Response_Abstract | |
protected bool | $_sendheader | from Response_Abstract |
Methods
bool
setBody(string $content, string $key = self::DEFAULT_BODY)
Set content to response
from
Response_Abstract
bool
appendBody(string $content, string $key = self::DEFAULT_BODY)
append a content to a exists content block
from
Response_Abstract
bool
prependBody(string $content, string $key = self::DEFAULT_BODY)
prepend a content to a exists content block
from
Response_Abstract
mixed
getBody(string|null $key = self::DEFAULT_BODY)
Retrieve an existing content
from
Response_Abstract
Details
__construct()
No description
__destruct()
No description
__toString()
No description
bool
setBody(string $content, string $key = self::DEFAULT_BODY)
Set content to response
bool
appendBody(string $content, string $key = self::DEFAULT_BODY)
append a content to a exists content block
bool
prependBody(string $content, string $key = self::DEFAULT_BODY)
prepend a content to a exists content block
bool
clearBody(string $key = self::DEFAULT_BODY)
Clear existing content
mixed
getBody(string|null $key = self::DEFAULT_BODY)
Retrieve an existing content