\think\facadeSession

Summary

Methods
Properties
Constants
__callStatic()
getConfig()
getDefaultDriver()
No public properties found
No constants found
getFacadeClass()
createFacade()
$alwaysNewInstance
$instance
N/A
No private methods found
No private properties found
N/A

Properties

$alwaysNewInstance

$alwaysNewInstance : bool

始终创建新的对象实例

Type

bool

$instance

$instance

Methods

__callStatic()

__callStatic(mixed  $method, mixed  $params) : mixed

Parameters

mixed $method
mixed $params

Returns

mixed —

getConfig()

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

获取Session配置

Parameters

null|string $name = null
mixed $default = null

Returns

mixed —

getDefaultDriver()

getDefaultDriver() : string|null

默认驱动

Returns

string|null —

getFacadeClass()

getFacadeClass() : string

获取当前Facade对应类名(或者已经绑定的容器对象标识)

Returns

string —

createFacade()

createFacade(bool  $newInstance = false) : object

创建Facade实例

Parameters

bool $newInstance

是否每次创建新的实例

Returns

object —