PHP Trait LdapTools\Cache\CacheTrait

Author: Chad Sikorra ([email protected])
Datei anzeigen Open project: ldaptools/ldaptools

Protected Properties

Property Type Description
$cachePrefix The prefix for the cache.

Public Methods

Method Description
getCachePrefix ( ) : string Get the prefix used for the cache item name.
setCachePrefix ( string $prefix ) Set the prefix used for the cache item name.

Protected Methods

Method Description
getCacheName ( string $itemType, string $itemName ) : string Form the "name" string that the cache uses to refer to this item.

Method Details

getCacheName() protected method

Form the "name" string that the cache uses to refer to this item.
protected getCacheName ( string $itemType, string $itemName ) : string
$itemType string
$itemName string
return string

getCachePrefix() public method

Get the prefix used for the cache item name.
public getCachePrefix ( ) : string
return string

setCachePrefix() public method

Set the prefix used for the cache item name.
public setCachePrefix ( string $prefix )
$prefix string

Property Details

$cachePrefix protected_oe property

The prefix for the cache.
protected $cachePrefix