(Yaf >=1.0.0)
Yaf_Response_Abstract::response — Send response
public Yaf_Response_Abstract::response ( ) : void
send response
This function has no parameters.
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
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-response-abstract.response.php