SiteManager
in package
Table of Contents
- $configManager : mixed
- $environment : mixed
- $errorHandler : mixed
- $errorLogsDir : mixed
- $switcher : mixed
- __construct() : mixed
- appSetup() : static
- constants() : static
- debug() : static
- Debug setup.
- default() : null|int|string|true
- enableErrorHandler() : true
- getEnvironment() : string
- setAssetUrl() : void
- setAutosave() : void
- setDatabase() : void
- setEnvironment() : static
- setForceSsl() : void
- setMemory() : void
- setOptimize() : void
- setSalts() : void
- setSiteUrl() : void
- setSwitcher() : void
- environmentInit() : void
- getRaydiumEnvironment() : mixed
- resetEnvironment() : void
- setErrorLogsDir() : string
- wpDevelopmentMode() : string
Properties
$configManager
private
mixed
$configManager
$environment
private
mixed
$environment
$errorHandler
private
mixed
$errorHandler
$errorLogsDir
private
mixed
$errorLogsDir
$switcher
private
mixed
$switcher
Methods
__construct()
public
__construct(ConstantBuilder $configManager) : mixed
Parameters
- $configManager : ConstantBuilder
Return values
mixed —appSetup()
public
appSetup(ServerRequestInterface $request) : static
Parameters
- $request : ServerRequestInterface
Return values
static —constants()
public
constants() : static
Return values
static —debug()
Debug setup.
public
debug(null|string $errorLogsDir) : static
Parameters
- $errorLogsDir : null|string
Return values
static —default()
public
static default(string $key) : null|int|string|true
Parameters
- $key : string
Tags
Return values
null|int|string|true —enableErrorHandler()
public
enableErrorHandler(ServerRequestInterface $request) : true
Parameters
- $request : ServerRequestInterface
Return values
true —getEnvironment()
public
getEnvironment() : string
Return values
string —setAssetUrl()
public
setAssetUrl() : void
Return values
void —setAutosave()
public
setAutosave() : void
Return values
void —setDatabase()
public
setDatabase() : void
Return values
void —setEnvironment()
public
setEnvironment() : static
Return values
static —setForceSsl()
public
setForceSsl() : void
Return values
void —setMemory()
public
setMemory() : void
Return values
void —setOptimize()
public
setOptimize() : void
Return values
void —setSalts()
public
setSalts() : void
Return values
void —setSiteUrl()
public
setSiteUrl() : void
Return values
void —setSwitcher()
public
setSwitcher(EnvSwitcherInterface $switcher) : void
Parameters
- $switcher : EnvSwitcherInterface
Return values
void —environmentInit()
private
environmentInit() : void
Return values
void —getRaydiumEnvironment()
private
getRaydiumEnvironment() : mixed
Return values
mixed —resetEnvironment()
private
resetEnvironment(string|null $reset) : void
Parameters
- $reset : string|null
Return values
void —setErrorLogsDir()
private
static setErrorLogsDir(string $appPath[, string|null $tenantId = null ]) : string
Parameters
- $appPath : string
- $tenantId : string|null = null
Return values
string —wpDevelopmentMode()
private
static wpDevelopmentMode() : string