PHP Class Gc\Event\CacheEvent

Inheritance: extends Zend\EventManager\Event
Datei anzeigen Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Property Type Description
$abort boolean Allow to abort cache
$cacheKey string Cache key

Public Methods

Method 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 method

Retrieve if abort is set
public getAbort ( ) : boolean
return boolean

getCacheKey() public method

Retrieve cache key
public getCacheKey ( ) : string
return string

setAbort() public method

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

setCacheKey() public method

Set cache key
public setCacheKey ( string $cacheKey ) : string
$cacheKey string Cache key
return string

Property Details

$abort protected_oe property

Allow to abort cache
protected bool $abort
return boolean

$cacheKey protected_oe property

Cache key
protected string $cacheKey
return string