Zhamao Framework 3.2.4
A high-performance chatbot + web framework
载入中...
搜索中...
未找到
RuntimePreferences类 参考

Public 成员函数

 environment (... $environments)
 
 withEnvironment (string $environment)
 
 isDebugMode ()
 
 enableDebugMode (bool $debug_mode)
 
 getLogLevel ()
 
 withLogLevel (string $log_level)
 
 getConfigDir ()
 
 withConfigDir (string $config_dir)
 
 runningInInteractiveTerminal ()
 
 runningUnitTests ()
 

Protected 属性

string $environment = 'development'
 
bool $debug_mode = false
 
string $log_level = 'info'
 
string $config_dir = SOURCE_ROOT_DIR . '/config'
 

成员函数说明

◆ enableDebugMode()

enableDebugMode ( bool  $debug_mode)

◆ environment()

environment (   $environments)
函数调用图:

◆ getConfigDir()

getConfigDir ( )

◆ getLogLevel()

getLogLevel ( )
函数调用图:

◆ isDebugMode()

isDebugMode ( )

◆ runningInInteractiveTerminal()

runningInInteractiveTerminal ( )

◆ runningUnitTests()

runningUnitTests ( )

◆ withConfigDir()

withConfigDir ( string  $config_dir)

◆ withEnvironment()

withEnvironment ( string  $environment)

◆ withLogLevel()

withLogLevel ( string  $log_level)

结构体成员变量说明

◆ $config_dir

string $config_dir = SOURCE_ROOT_DIR . '/config'
protected

◆ $debug_mode

bool $debug_mode = false
protected

◆ $environment

string $environment = 'development'
protected

◆ $log_level

string $log_level = 'info'
protected

该类的文档由以下文件生成: