首页
IT
登录
6mi
u
盘
搜
搜 索
IT
[李景山php]每天TP5-20161203|Loader.php-1
[李景山php]每天TP5-20161203|Loader.php-1
xiaoxiao
2023-03-24
5
namespace
think
;
// 基于 最基础的 think 命名空间
use
think
\
exception
\
ClassNotFoundException
;
// think\exception\ClassNotFoundException
// 运行 未发现类 异常
class
Loader
{
// 类加载,类
protected
static
$instance
= [];
// 受保护的 静态的 类名映射 也就是实例化了
// 类名映射
protected
static
$map
= [];
// 类映射 存储位置 映射 存储关系
// 命名空间别名
protected
static
$namespaceAlias
= [];
// 别名 命名空间 别名
// PSR-4
private
static
$prefixLengthsPsr4
= [];
// PSR-4
private
static
$prefixDirsPsr4
= [];
// PSR-4
private
static
$fallbackDirsPsr4
= [];
// PSR-4
// PSR-0
private
static
$prefixesPsr0
= [];
// PSR-0
private
static
$fallbackDirsPsr0
= [];
// PSR-0
转载请注明原文地址: https://ju.6miu.com/read-1202418.html
最新回复
(
0
)