PHP Интерфейс Rinvex\Repository\Contracts\CacheableContract

Показать файл Открыть проект

Открытые методы

Метод Описание
enableCacheClear ( boolean $status ) Enable repository cache clear.
forgetCache ( ) Forget the repository cache.
getCacheDriver ( ) : string Get the repository cache driver.
getCacheLifetime ( ) : float | integer Get the repository cache lifetime.
isCacheClearEnabled ( ) : boolean Determine if repository cache clear is enabled.
setCacheDriver ( string $cacheDriver ) Set the repository cache driver.
setCacheLifetime ( float | integer $cacheLifetime ) Set the repository cache lifetime.

Описание методов

enableCacheClear() публичный Метод

Enable repository cache clear.
public enableCacheClear ( boolean $status )
$status boolean

forgetCache() публичный Метод

Forget the repository cache.
public forgetCache ( )

getCacheDriver() публичный Метод

Get the repository cache driver.
public getCacheDriver ( ) : string
Результат string

getCacheLifetime() публичный Метод

Get the repository cache lifetime.
public getCacheLifetime ( ) : float | integer
Результат float | integer

isCacheClearEnabled() публичный Метод

Determine if repository cache clear is enabled.
public isCacheClearEnabled ( ) : boolean
Результат boolean

setCacheDriver() публичный Метод

Set the repository cache driver.
public setCacheDriver ( string $cacheDriver )
$cacheDriver string

setCacheLifetime() публичный Метод

Set the repository cache lifetime.
public setCacheLifetime ( float | integer $cacheLifetime )
$cacheLifetime float | integer