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
파일 보기 프로젝트 열기: bolt/bolt 1 사용 예제들

공개 메소드들

메소드 설명
__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