PHP Trait LdapTools\Cache\CacheTrait

Author: Chad Sikorra ([email protected])
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$cachePrefix The prefix for the cache.

Méthodes publiques

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

Méthodes protégées

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

Method Details

getCacheName() protected méthode

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

getCachePrefix() public méthode

Get the prefix used for the cache item name.
public getCachePrefix ( ) : string
Résultat string

setCachePrefix() public méthode

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