Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT

Maps to

$preload = $this instanceof WarmableInterface ? (array) $this->warmUp($this->container->getParameter('kernel.cache_dir')) : [];
if ($this->container->has('cache_warmer')) {
$preload = array_merge($preload, (array) $this->container->get('cache_warmer')->warmUp($this->container->getParameter('kernel.cache_dir')));
}

@OskarStark OskarStark changed the title [FrameworkBundle] Fix calling Kernel::warmUp() when running cache:warmup [FrameworkBundle] Fix calling Kernel::warmUp() when running cache:warmup Oct 10, 2023
@nicolas-grekas nicolas-grekas merged commit 4290999 into symfony:5.4 Oct 12, 2023
@nicolas-grekas nicolas-grekas deleted the fwb-warm-kernel branch October 16, 2023 20:21
@fabpot fabpot mentioned this pull request Oct 21, 2023
@fabpot fabpot mentioned this pull request Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants