Skip to content

Commit eb1edcf

Browse files
okhoshinicolas-grekas
authored andcommitted
[FrameworkBundle][HttpKernel] Introduce $buildDir argument to WarmableInterface::warmup to warm read-only artefacts in build_dir
1 parent e28fc27 commit eb1edcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CacheWarmer/ProxyCacheWarmer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ public function isOptional(): bool
3838
}
3939

4040
/**
41-
* @return string[] A list of files to preload on PHP 7.4+
41+
* @param string|null $buildDir
4242
*/
43-
public function warmUp(string $cacheDir): array
43+
public function warmUp(string $cacheDir /* , string $buildDir = null */): array
4444
{
4545
$files = [];
4646
foreach ($this->registry->getManagers() as $em) {

0 commit comments

Comments
 (0)