Yaf_Response_Abstract::clearBody
Discard all exists response body
Description
public bool Yaf_Response_Abstract::clearBody(string $key
= ?)
Parameters
-
key
-
the content key, if you don't specific, then all contents will be
cleared.
Note:
this parameter is introduced as of 2.2.0
See Also
- Yaf_Response_Abstract::setBody
- Yaf_Response_Abstract::appendBody
- Yaf_Response_Abstract::prependBody
- Yaf_Response_Abstract::getBody