W3cubDocs

/Symfony 4.1

RebootableInterface

interface RebootableInterface

Allows the Kernel to be rebooted using a temporary cache directory.

Methods

reboot(string|null $warmupDir)

Reboots a kernel.

Details

reboot(string|null $warmupDir)

Reboots a kernel.

The getCacheDir() method of a rebootable kernel should not be called while building the container. Use the %kernel.cache_dir% parameter instead.

Parameters

string|null $warmupDir pass null to reboot in the regular cache directory

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/RebootableInterface.html