PHP Класс LdapTools\Cache\DoctrineCache

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Cache\CacheInterface, use trait CacheTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cache FileSystemCache
$cacheFolder The cache folder location.

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
getCache ( ) : FileSystemCache
parseOptions ( array $options ) Check for any options that apply to the Doctrine cache.

Описание методов

__construct() публичный метод

public __construct ( )

contains() публичный метод

public contains ( $itemType, $itemName )

delete() публичный метод

public delete ( $type, $name )

deleteAll() публичный метод

public deleteAll ( )

get() публичный метод

public get ( $itemType, $itemName )

getCache() защищенный метод

protected getCache ( ) : FileSystemCache
Результат FileSystemCache

getCacheCreationTime() публичный метод

public getCacheCreationTime ( $itemType, $itemName )

getCacheFolder() публичный метод

The location to where the cache will be kept.
public getCacheFolder ( ) : string
Результат string

getUseAutoCache() публичный метод

public getUseAutoCache ( )

parseOptions() защищенный метод

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

set() публичный метод

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

setCacheFolder() публичный метод

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

setOptions() публичный метод

public setOptions ( array $options )
$options array

Описание свойств

$cache защищенное свойство

protected FileSystemCache $cache
Результат FileSystemCache

$cacheFolder защищенное свойство

The cache folder location.
protected $cacheFolder