function RebootableInterface::reboot
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:
1 method overrides RebootableInterface::reboot()
- Kernel::reboot in vendor/
symfony/ http-kernel/ Kernel.php - Reboots a kernel.
File
-
vendor/
symfony/ http-kernel/ RebootableInterface.php, line 29
Class
- RebootableInterface
- Allows the Kernel to be rebooted using a temporary cache directory.
Namespace
Symfony\Component\HttpKernelCode
public function reboot(?string $warmupDir) : void;