Yaf_Response_Abstract
PHP Manual

Yaf_Response_Abstract::clearBody

(PECL yaf >=1.0.0)

Yaf_Response_Abstract::clearBodyThe clearBody purpose

说明

public bool Yaf_Response_Abstract::clearBody ([ string $key ] )

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

返回值

参见


Yaf_Response_Abstract
PHP Manual