Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. WarmableInterface.php

interface WarmableInterface

Interface for classes that support warming their cache.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • interface \Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface

Expanded class hierarchy of WarmableInterface

All classes that implement WarmableInterface

1 file declares its use of WarmableInterface
Kernel.php in vendor/symfony/http-kernel/Kernel.php

File

vendor/symfony/http-kernel/CacheWarmer/WarmableInterface.php, line 19

Namespace

Symfony\Component\HttpKernel\CacheWarmer
View source
interface WarmableInterface {
    
    /**
     * Warms up the cache.
     *
     * @param string      $cacheDir Where warm-up artifacts should be stored
     * @param string|null $buildDir Where read-only artifacts should go; null when called after compile-time
     *
     * @return string[] A list of classes or files to preload
     */
    public function warmUp(string $cacheDir, ?string $buildDir = null) : array;

}

Members

Title Sort descending Modifiers Object type Summary Overrides
WarmableInterface::warmUp public function Warms up the cache. 2
RSS feed
Powered by Drupal