PHP Класс Bolt\Cache

. Useful for storing non-vital information like feeds, and other stuff that can be recovered easily.
Автор: Bob den Otter, [email protected]
Наследование: extends Doctrine\Common\Cache\FilesystemCache
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( string $directory, string $extension = self::EXTENSION, integer $umask = 2, Bolt\Filesystem\AggregateFilesystemInterface $filesystem = null ) Cache constructor.

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

Метод Описание
doFlush ( ) : boolean Clear the cache. Both the doctrine FilesystemCache, as well as twig and thumbnail temp files.

Приватные методы

Метод Описание
flushDirectory ( Bolt\Filesystem\Handler\DirectoryInterface $directory ) Helper function for doFlush().

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

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

Cache constructor.
public __construct ( string $directory, string $extension = self::EXTENSION, integer $umask = 2, Bolt\Filesystem\AggregateFilesystemInterface $filesystem = null )
$directory string
$extension string
$umask integer
$filesystem Bolt\Filesystem\AggregateFilesystemInterface

doFlush() защищенный Метод

Clear the cache. Both the doctrine FilesystemCache, as well as twig and thumbnail temp files.
protected doFlush ( ) : boolean
Результат boolean