| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* This file is part of the Symfony package. |
| 5 |
* |
| 6 |
* (c) Fabien Potencier <fabien@symfony.com> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
namespace Matomo\Dependencies\Symfony\Component\HttpKernel; |
| 12 |
|
| 13 |
/** |
| 14 |
* Allows the Kernel to be rebooted using a temporary cache directory. |
| 15 |
* |
| 16 |
* @author Nicolas Grekas <p@tchwork.com> |
| 17 |
*/ |
| 18 |
interface RebootableInterface |
| 19 |
{ |
| 20 |
/** |
| 21 |
* Reboots a kernel. |
| 22 |
* |
| 23 |
* The getBuildDir() method of a rebootable kernel should not be called |
| 24 |
* while building the container. Use the %kernel.build_dir% parameter instead. |
| 25 |
* |
| 26 |
* @param string|null $warmupDir pass null to reboot in the regular build directory |
| 27 |
*/ |
| 28 |
public function reboot(?string $warmupDir); |
| 29 |
} |
| 30 |
|