(Yaf >=1.0.0)
Yaf_Response_Abstract::clearBody — Discard all exists response body
public Yaf_Response_Abstract::clearBody ([ string $key ] ) : bool
Clear existsed content
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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-response-abstract.clearbody.php