a-blog cms PHP API Reference

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

$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

すべての有効期限切れキャッシュを削除する

flush()

public static flush(string $type) : void

タイプ別のキャッシュを削除する

Parameters
$type : string

getInstance()

get service instance

public static getInstance() : mixed

prune()

public static prune(string $type) : void

タイプ別の有効期限切れキャッシュを削除する

Parameters
$type : string

getServiceAlias()

protected static getServiceAlias() : string
Return values
string

getServiceInstance()

protected static getServiceInstance(string $alias) : mixed
Parameters
$alias : string

isCache()

protected static isCache() : bool
Return values
bool

        
On this page

Search results