PHP Класс Gc\Event\CacheEvent

Наследование: extends Zend\EventManager\Event
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$abort boolean Allow to abort cache
$cacheKey string Cache key

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

Метод Описание
getAbort ( ) : boolean Retrieve if abort is set
getCacheKey ( ) : string Retrieve cache key
setAbort ( boolean $abort ) : CacheEvent Set Abort status
setCacheKey ( string $cacheKey ) : string Set cache key

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

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

Retrieve if abort is set
public getAbort ( ) : boolean
Результат boolean

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

Retrieve cache key
public getCacheKey ( ) : string
Результат string

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

Set Abort status
public setAbort ( boolean $abort ) : CacheEvent
$abort boolean Boolean to define if the cache is aborted
Результат CacheEvent

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

Set cache key
public setCacheKey ( string $cacheKey ) : string
$cacheKey string Cache key
Результат string

Описание свойств

$abort защищенное свойство

Allow to abort cache
protected bool $abort
Результат boolean

$cacheKey защищенное свойство

Cache key
protected string $cacheKey
Результат string