4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpKernel;
15 * Allows the Kernel to be rebooted using a temporary cache directory.
17 * @author Nicolas Grekas <p@tchwork.com>
19 interface RebootableInterface
24 * The getCacheDir() method of a rebootable kernel should not be called
25 * while building the container. Use the %kernel.cache_dir% parameter instead.
27 * @param string|null $warmupDir pass null to reboot in the regular cache directory
29 public function reboot($warmupDir);