PHP Класс Contao\CoreBundle\Cache\ContaoCacheWarmer

Наследование: implements Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Symfony\Component\Filesystem\Filesystem $filesystem, Contao\CoreBundle\Config\ResourceFinderInterface $finder, Symfony\Component\Config\FileLocator $locator, string $rootDir, Doctrine\DBAL\Connection $connection, Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework ) Constructor.
isOptional ( )
warmUp ( $cacheDir )

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

Метод Описание
generateConfigCache ( string $cacheDir ) Generates the config cache.
generateDcaCache ( string $cacheDir ) Generates the DCA cache.
generateDcaExtracts ( string $cacheDir ) Generates the DCA extracts.
generateLanguageCache ( string $cacheDir ) Generates the language cache.
generateTemplateMapper ( string $cacheDir ) Generates the template mapper array.
getLanguagesInUse ( ) : array Returns the languages which are currently in use.
isCompleteInstallation ( ) : boolean Checks if the installation is complete.

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

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

Constructor.
public __construct ( Symfony\Component\Filesystem\Filesystem $filesystem, Contao\CoreBundle\Config\ResourceFinderInterface $finder, Symfony\Component\Config\FileLocator $locator, string $rootDir, Doctrine\DBAL\Connection $connection, Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework )
$filesystem Symfony\Component\Filesystem\Filesystem
$finder Contao\CoreBundle\Config\ResourceFinderInterface
$locator Symfony\Component\Config\FileLocator
$rootDir string
$connection Doctrine\DBAL\Connection
$framework Contao\CoreBundle\Framework\ContaoFrameworkInterface

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

public isOptional ( )

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

public warmUp ( $cacheDir )