Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Angejia
Pea
Meta
PHP Interface Angejia\Pea\Meta
Datei anzeigen
Open project: angejia/pea
Interface Usage Examples
Public Methods
Method
Description
flush
(
string
$db
,
string
$table
)
刷新表级缓存版本,调用此方法让所有表级缓存过期
flushAll
(
string
$db
,
string
$table
)
刷新所有缓存,调用此方法让所有缓存过期。 仅用于执行 Migration 以后调用
prefix
(
string
$db
,
string
$table
,
boolean
$isForTable
= false ) :
string
获取缓存前缀
Method Details
flush()
public
method
刷新表级缓存版本,调用此方法让所有表级缓存过期
public
flush
(
string
$db
,
string
$table
)
$db
string
数据库名称
$table
string
表名
flushAll()
public
method
刷新所有缓存,调用此方法让所有缓存过期。 仅用于执行 Migration 以后调用
public
flushAll
(
string
$db
,
string
$table
)
$db
string
数据库名称
$table
string
表名
prefix()
public
method
获取缓存前缀
public
prefix
(
string
$db
,
string
$table
,
boolean
$isForTable
= false ) :
string
$db
string
数据库名称
$table
string
表名
$isForTable
boolean
是否需要获取表级缓存前缀
return
string
前缀字符串