PHP Class Gc\Event\CacheEvent

Inheritance: extends Zend\EventManager\Event
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$abort boolean Allow to abort cache
$cacheKey string Cache key

Méthodes publiques

Méthode Description
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

Method Details

getAbort() public méthode

Retrieve if abort is set
public getAbort ( ) : boolean
Résultat boolean

getCacheKey() public méthode

Retrieve cache key
public getCacheKey ( ) : string
Résultat string

setAbort() public méthode

Set Abort status
public setAbort ( boolean $abort ) : CacheEvent
$abort boolean Boolean to define if the cache is aborted
Résultat CacheEvent

setCacheKey() public méthode

Set cache key
public setCacheKey ( string $cacheKey ) : string
$cacheKey string Cache key
Résultat string

Property Details

$abort protected_oe property

Allow to abort cache
protected bool $abort
Résultat boolean

$cacheKey protected_oe property

Cache key
protected string $cacheKey
Résultat string