5 Star 15 Fork 9

Gitee 极速下载 / Yaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/laruence/yaf
克隆/下载
yaf_application.stub.php 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
/** @generate-legacy-arginfo */
final class Yaf_Application {
/* constants */
/* properties */
static protected object $_app = NULL;
protected array $config = NULL;
protected object $dispatcher = NULL;
protected array $_modules = NULL;
protected bool $_running = false;
protected string $_environ = "product";
protected int $_err_no = 0;
protected string $_err_msg = "";
/* methods */
public function __construct(string|array $config, string $environ = NULL);
/**
* @return Yaf_Response_Abstract|FALSE
*/
public function run():object|false;
public function execute(mixed $callback):mixed;
public function environ():?string;
/**
* @return Yaf_Application|false|null
*/
public function bootstrap():object|false|null;
public function getConfig():?object;
public function getModules():?array;
/**
* @return Yaf_Dispatcher|NULL
*/
public function getDispatcher():?object;
/**
* @return Yaf_Application|NULL|FALSE
*/
public function setAppDirectory(string $directory):object|null|false;
public function getAppDirectory():?string;
public function getLastErrorNo():?int;
public function getLastErrorMsg():?string;
/**
* @return Yaf_Application|NULL
*/
public function clearLastError():?object;
/**
* @return Yaf_Application|NULL
*/
public static function app():?object;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Yaf1.git
git@gitee.com:mirrors/Yaf1.git
mirrors
Yaf1
Yaf
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891