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.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/RebootableInterface.html