PHP 8.4.1 Released!

Yaf_Response_Abstract::response

(Yaf >=1.0.0)

Yaf_Response_Abstract::responseSend response

Description

public Yaf_Response_Abstract::response(): void

send response

Parameters

This function has no parameters.

Return Values

Examples

Example #1 Yaf_Response_Abstract::response()example

<?php
$response
= new Yaf_Response_Http();

$response->setBody("Hello")->setBody(" World", "footer");

$response->response();
?>

The above example will output something similar to:

Hello World

See Also

add a note

User Contributed Notes

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