Yaf_Response_Abstract::clearBody

(Yaf >=1.0.0)

Yaf_Response_Abstract::clearBodyDiscard all exists response body

Descrierea

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

Clear existsed content

Parametri

key

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

Notă:

this parameter is introduced as of 2.2.0

Valorile întoarse

A se vedea și