\PRipple

PRipple

Summary

Methods
Properties
Constants
configure()
getArgument()
uniqueHash()
uniqueId()
kernel()
config()
isConsole()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
initEnvConfig()
initConstant()
$kernel
$index
$configureArguments
$isConsole
N/A

Properties

$kernel

$kernel : \Core\Kernel

Type

\Core\Kernel

$index

$index : int

Type

int

$configureArguments

$configureArguments : array

Type

array

$isConsole

$isConsole : bool

Type

bool

Methods

configure()

configure(array  $arguments) : \Kernel

初次装配内核

Parameters

array $arguments

Returns

\Kernel —

getArgument()

getArgument(string|null  $name = null, string|null  $default = null) : mixed

获取装配参数

Parameters

string|null $name
string|null $default

Returns

mixed —

uniqueHash()

uniqueHash() : string

唯一HASH(当前进程安全)

Returns

string —

uniqueId()

uniqueId() : int

唯一ID(当前进程安全)

Returns

int —

kernel()

kernel() : \Kernel

获取内核

Returns

\Kernel —

config()

config(int|string  $key, mixed  $value) : void

Parameters

int|string $key
mixed $value

isConsole()

isConsole() : bool

Returns

bool —

initEnvConfig()

initEnvConfig() : void

初始化环境配置

initConstant()

initConstant() : void

初始化常量