(Yaf >=1.0.0)
Yaf_Response_Abstract::clearBody — 清除已經(jīng)設(shè)置的響應(yīng)body
$key
= ?): bool清除已經(jīng)設(shè)置的響應(yīng)body
key
the content key, if you don't specific, then all contents will be cleared. 如果你沒選擇具體清除哪個(gè)key所對(duì)應(yīng)的內(nèi)容,那所有內(nèi)容將被清除
注意:
this parameter is introduced as of 2.2.0