5 Star 15 Fork 9

Gitee 极速下载 / Yaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/laruence/yaf
克隆/下载
yaf_loader.stub.php 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
<?php
/** @generate-legacy-arginfo */
final class Yaf_Loader {
/* constants */
/* properties */
protected string $_local_ns = NULL;
protected string $_library = NULL;
protected string $_global_library = NULL;
static protected Yaf_Loader $_instance = NULL;
/* methods */
private function __construct();
/**
* @return Yaf_Loader
*/
public static function getInstance(string $local_path = NULL, string $global_path = NULL):object;
public static function import(string $file):?bool;
public function autoload(string $class_name):bool;
/**
* @return Yaf_Loader|NULL|FALSE
*/
public function registerLocalNamespace(string|array $name_prefix, string $path = NULL):object|null|false;
public function getLocalNamespace():?array;
public function clearLocalNamespace():?bool;
public function isLocalName(string $class_name):?bool;
/**
* @return Yaf_Loader|NULL
*/
public function setLibraryPath(string $library_path, bool $is_global = false):object|null;
public function getLibraryPath(bool $is_global = false):string;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Yaf1.git
git@gitee.com:mirrors/Yaf1.git
mirrors
Yaf1
Yaf
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891