CakeFest 2024: The Official CakePHP Conference

Yaf_Response_Abstract::clearBody

(Yaf >=1.0.0)

Yaf_Response_Abstract::clearBodyDiscard all exists response body

Açıklama

public Yaf_Response_Abstract::clearBody(string $key = ?): bool

Clear existsed content

Bağımsız Değişkenler

key

the content key, if you don't specific, then all contents will be cleared.

Bilginize:

this parameter is introduced as of 2.2.0

Dönen Değerler

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top