Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Stash
Interfaces
ItemInterface
setTTL
Stash\Interfaces\ItemInterface::setTTL PHP Метод
Документация по интерфейсу ItemInterface
Показать файл
Открыть проект
setTTL()
публичный
Метод
Sets the expiration based off a an integer, date interval, or date
public
setTTL
(
mixed
$ttl
= null ) :
self
$ttl
mixed
An integer, date interval, or date
Результат
self
public function setTTL($ttl = null);
ItemInterface
clear
disable
expiresAfter
expiresAt
extend
get
getCreation
getExpiration
getKey
isDisabled
isHit
isMiss
lock
save
set
setInvalidationMethod
setKey
setLogger
setPool
setTTL