PHP Class LdapTools\Cache\DoctrineCache

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Cache\CacheInterface, use trait CacheTrait
Afficher le fichier Open project: ldaptools/ldaptools

Protected Properties

Свойство Type Description
$cache FileSystemCache
$cacheFolder The cache folder location.

Méthodes publiques

Méthode Description
__construct ( )
contains ( $itemType, $itemName )
delete ( $type, $name )
deleteAll ( )
get ( $itemType, $itemName )
getCacheCreationTime ( $itemType, $itemName )
getCacheFolder ( ) : string The location to where the cache will be kept.
getUseAutoCache ( )
set ( LdapTools\Cache\CacheableItemInterface $cacheableItem )
setCacheFolder ( $folder ) Set the location where the cache will be kept.
setOptions ( array $options )

Méthodes protégées

Méthode Description
getCache ( ) : FileSystemCache
parseOptions ( array $options ) Check for any options that apply to the Doctrine cache.

Method Details

__construct() public méthode

public __construct ( )

contains() public méthode

public contains ( $itemType, $itemName )

delete() public méthode

public delete ( $type, $name )

deleteAll() public méthode

public deleteAll ( )

get() public méthode

public get ( $itemType, $itemName )

getCache() protected méthode

protected getCache ( ) : FileSystemCache
Résultat FileSystemCache

getCacheCreationTime() public méthode

public getCacheCreationTime ( $itemType, $itemName )

getCacheFolder() public méthode

The location to where the cache will be kept.
public getCacheFolder ( ) : string
Résultat string

getUseAutoCache() public méthode

public getUseAutoCache ( )

parseOptions() protected méthode

Check for any options that apply to the Doctrine cache.
protected parseOptions ( array $options )
$options array

set() public méthode

public set ( LdapTools\Cache\CacheableItemInterface $cacheableItem )
$cacheableItem LdapTools\Cache\CacheableItemInterface

setCacheFolder() public méthode

Set the location where the cache will be kept.
public setCacheFolder ( $folder )
$folder

setOptions() public méthode

public setOptions ( array $options )
$options array

Property Details

$cache protected_oe property

protected FileSystemCache $cache
Résultat FileSystemCache

$cacheFolder protected_oe property

The cache folder location.
protected $cacheFolder