Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\HttpKernel; Chris@14: Chris@14: /** Chris@14: * Allows the Kernel to be rebooted using a temporary cache directory. Chris@14: * Chris@14: * @author Nicolas Grekas Chris@14: */ Chris@14: interface RebootableInterface Chris@14: { Chris@14: /** Chris@14: * Reboots a kernel. Chris@14: * Chris@14: * The getCacheDir() method of a rebootable kernel should not be called Chris@14: * while building the container. Use the %kernel.cache_dir% parameter instead. Chris@14: * Chris@14: * @param string|null $warmupDir pass null to reboot in the regular cache directory Chris@14: */ Chris@14: public function reboot($warmupDir); Chris@14: }