interface RebootableInterface

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

Methods

reboot(string|null $warmupDir)

Reboots a kernel.

Details

at line line 29
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