Cache
extends Facade
in package
Class Cache
Table of Contents
Properties
- $container : Container
- $instance : mixed
Methods
- __callStatic() : mixed
- allFlush() : void
- allPrune() : void
- config() : AdapterInterface
- field() : AdapterInterface
- flush() : void
- getInstance() : mixed
- get service instance
- module() : AdapterInterface
- page() : AdapterInterface
- prune() : void
- setContainer() : void
- temp() : AdapterInterface
- template() : AdapterInterface
- getServiceAlias() : string
- getServiceInstance() : mixed
- isCache() : bool
Properties
$container
protected
static Container
$container
$instance
protected
static mixed
$instance
Methods
__callStatic()
public
static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
allFlush()
public
static allFlush() : void
すべてのキャッシュを削除する
allPrune()
public
static allPrune() : void
すべての有効期限切れキャッシュを削除する
config()
public
static config() : AdapterInterface
設定用キャッシュ
Return values
AdapterInterfacefield()
public
static field() : AdapterInterface
フィールド用キャッシュ
Return values
AdapterInterfaceflush()
public
static flush(string $type) : void
タイプ別のキャッシュを削除する
Parameters
- $type : string
getInstance()
get service instance
public
static getInstance() : mixed
module()
public
static module() : AdapterInterface
モジュール用キャッシュ
Return values
AdapterInterfacepage()
public
static page() : AdapterInterface
ページ用キャッシュ
Return values
AdapterInterfaceprune()
public
static prune(string $type) : void
タイプ別の有効期限切れキャッシュを削除する
Parameters
- $type : string
setContainer()
public
static setContainer(Container $container) : void
Parameters
- $container : Container
temp()
public
static temp() : AdapterInterface
一時的に使えるキャッシュ
Return values
AdapterInterfacetemplate()
public
static template() : AdapterInterface
テンプレート用キャッシュ
Return values
AdapterInterfacegetServiceAlias()
protected
static getServiceAlias() : string
Return values
stringgetServiceInstance()
protected
static getServiceInstance(string $alias) : mixed
Parameters
- $alias : string
isCache()
protected
static isCache() : bool