\sRAdapter

Summary

Methods
Properties
Constants
getRtime()
getPrjName()
getAppConfig()
startUp()
isCli()
isDebug()
autoLoaderPsr4()
No public properties found
DevEnv
No protected methods found
$startRtime
$projectName
$appConfig
$isCli
$isDebug
N/A
_loadRequire()
No private properties found
N/A

Constants

DevEnv

DevEnv = 'dev'

Properties

$startRtime

$startRtime : 

Type

$projectName

$projectName : 

Type

$appConfig

$appConfig : \sR\Config

Type

\sR\Config

$isCli

$isCli : 

Type

$isDebug

$isDebug : 

Type

Methods

getRtime()

getRtime() : boolean|float|null

获取系统运行时间

Returns

boolean|float|null

getPrjName()

getPrjName() : string

获取项目名称

Returns

string

getAppConfig()

getAppConfig() : \sR\Config

获取系统配置文件

Returns

\sR\Config

startUp()

startUp() 

适配器启动

isCli()

isCli() : boolean

Returns

boolean

isDebug()

isDebug() : boolean|mixed|null

Returns

boolean|mixed|null

autoLoaderPsr4()

autoLoaderPsr4(array  $data) 

Parameters

array $data

_loadRequire()

_loadRequire() 

依赖加载器