Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Rinvex
Repository
Contracts
CacheableContract
setCacheLifetime
Rinvex\Repository\Contracts\CacheableContract::setCacheLifetime PHP Method
CacheableContract Interface Documentation
Show file
Open project: rinvex/repository
setCacheLifetime()
public
method
Set the repository cache lifetime.
public
setCacheLifetime
(
float
|
integer
$cacheLifetime
)
$cacheLifetime
float
|
integer
public function setCacheLifetime($cacheLifetime);
CacheableContract
enableCacheClear
forgetCache
getCacheDriver
getCacheLifetime
isCacheClearEnabled
setCacheDriver
setCacheLifetime