Documentation

RebootableInterface

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

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

reboot()  : mixed
Reboots a kernel.

Methods

reboot()

Reboots a kernel.

public reboot(string|null $warmupDir) : mixed

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

Parameters
$warmupDir : string|null

pass null to reboot in the regular build directory

Return values
mixed

Search results