PHP Class LdapTools\Cache\DoctrineCache

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

Protected Properties

Property Type Description
$cache FileSystemCache
$cacheFolder The cache folder location.

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

public __construct ( )

contains() public method

public contains ( $itemType, $itemName )

delete() public method

public delete ( $type, $name )

deleteAll() public method

public deleteAll ( )

get() public method

public get ( $itemType, $itemName )

getCache() protected method

protected getCache ( ) : FileSystemCache
return FileSystemCache

getCacheCreationTime() public method

public getCacheCreationTime ( $itemType, $itemName )

getCacheFolder() public method

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

getUseAutoCache() public method

public getUseAutoCache ( )

parseOptions() protected method

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

set() public method

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

setCacheFolder() public method

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

setOptions() public method

public setOptions ( array $options )
$options array

Property Details

$cache protected_oe property

protected FileSystemCache $cache
return FileSystemCache

$cacheFolder protected_oe property

The cache folder location.
protected $cacheFolder