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

Breadcrumb

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

function WarmableInterface::warmUp

Warms up the cache.

Parameters

string $cacheDir Where warm-up artifacts should be stored:

string|null $buildDir Where read-only artifacts should go; null when called after compile-time:

Return value

string[] A list of classes or files to preload

2 methods override WarmableInterface::warmUp()
CacheWarmerAggregate::warmUp in vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php
Warms up the cache.
CompiledClassMetadataCacheWarmer::warmUp in vendor/symfony/serializer/CacheWarmer/CompiledClassMetadataCacheWarmer.php
Warms up the cache.

File

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

Class

WarmableInterface
Interface for classes that support warming their cache.

Namespace

Symfony\Component\HttpKernel\CacheWarmer

Code

public function warmUp(string $cacheDir, ?string $buildDir = null) : array;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal