FileAccess Orion

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 getCacheDir() method of a rebootable kernel should not be called while building the container. Use the %kernel.cache_dir% parameter instead.

Parameters
$warmupDir : string|null

pass null to reboot in the regular cache directory

Return values
mixed

Search results