5 Star 15 Fork 9

Gitee 极速下载 / Yaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/laruence/yaf
克隆/下载
yaf_response.stub.php 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
/** @generate-legacy-arginfo */
abstract class Yaf_Response_Abstract {
/* constants */
/* properties */
protected array $_header = NULL;
protected array $_body = NULL;
protected bool $_sendheader = false;
/* methods */
public function __construct() {}
/**
* @param string $body
* @param string $name
* @return Yaf_Response_Abstract|NULL|FALSE
*/
public function setBody($body, $name = NULL) {}
/**
* @param string $body
* @param string $name
* @return Yaf_Response_Abstract|NULL|FALSE
*/
public function appendBody($body, $name = NULL) {}
/**
* @param string $body
* @param string $name
* @return Yaf_Response_Abstract|NULL|FALSE
*/
public function prependBody($body, $name = NULL) {}
/**
* @param string $name
* @return Yaf_Response_Abstract|NULL
*/
public function clearBody($name = NULL) {}
public function getBody(string $name = NULL):mixed {}
public function setRedirect(string $url):?bool {}
/**
* @return bool
*/
public function response() {}
public function __toString():string {}
}
class Yaf_Response_Http extends Yaf_Response_Abstract {
/* constants */
/* properties */
protected bool $_sendheader = true;
protected int $_response_code = 200;
/* methods */
public function setHeader(string $name, string $value, bool $replace = 0, int $response_code = 0):?bool {}
protected function setAllHeaders(array $headers):?bool {}
public function getHeader(string $name = NULL):mixed {}
/**
* @return Yaf_Response_Http|NULL|FALSE
*/
public function clearHeaders():object|null|false {}
public function setRedirect(string $url):?bool {}
public function response():?bool {}
}
class Yaf_Response_Cli extends Yaf_Response_Abstract {
/* constants */
/* properties */
/* methods */
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Yaf1.git
git@gitee.com:mirrors/Yaf1.git
mirrors
Yaf1
Yaf
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891