interface RebootableInterface

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

Methods

void
reboot(string|null$warmupDir)

Reboots a kernel.

Details

void reboot(string|null$warmupDir)

Reboots a kernel.

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

Parameters

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

Return Value

void