« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ApiResponse (0.000 sec.)
Yaf_Dispatcher::setResponse — Set the response object | PHP 8.3 9414
Yaf_Dispatcher::setResponse (Yaf >=3.2.2) Yaf_Dispatcher::setResponse — Set the response object 説明 public function Yaf_Dispatcher::setResponse ( Yaf_Response_Abstract $response ): ? Yaf_Dispatcher Set the response object used by the dispa ... itself on success, or null if the application is not initialized. 例 例1 Yaf_Dispatcher::setResponse() example <?php class ApiResponse extends Yaf_Response_Http { public function response () { header ( "Content-Type: application/json" ); parent :: response ... ew Yaf_Application ( dirname ( __FILE__ ) . "/conf/application.ini" ); Yaf_Dispatcher :: getInstance ()-> setResponse (new ApiResponse ()); $app -> run (); ?> 参考 Yaf_Dispatcher::getResponse() - Get the response object Yaf_Dispatcher::setRequest() - The se ... tRequest purpose 他のマニュアルの関連ページ FastAPI Response class FastAPI Response FastAPI Response Headers FastAPI Response Cookies FastAPI カスタムレスポンス FastAPI Additional Re ...
https://man.mtool.work/php/8.3/yaf-dispatcher.setresponse.html
PREV 1 NEXT