Skip to content

Commit a80d18c

Browse files
committed
Add HttpKernel/KernelInterface
1 parent 24ef48d commit a80d18c

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
use Symfony\Component\Kernel\Kernel as BaseKernel;
1717

1818
/**
19-
* The Kernel is the heart of the Symfony system.
19+
* The HTTP Kernel is the heart of the Symfony system to handle HTTP request.
2020
*
21-
* It manages an environment made of bundles.
21+
* It manages an environment made of application kernel and bundles.
2222
*
2323
* @author Fabien Potencier <fabien@symfony.com>
2424
*/
25-
abstract class Kernel extends BaseKernel implements HttpKernelInterface, TerminableInterface
25+
abstract class Kernel extends BaseKernel implements KernelInterface, TerminableInterface
2626
{
2727
/**
2828
* {@inheritdoc}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
12+
namespace Symfony\Component\HttpKernel;
13+
14+
use Symfony\Component\Kernel\KernelInterface as BaseKernelInterface;
15+
16+
/**
17+
* The HTTP Kernel is the heart of the Symfony system to handle HTTP request.
18+
*
19+
* It manages an environment made of application kernel and bundles.
20+
*
21+
* @author Fabien Potencier <fabien@symfony.com>
22+
*/
23+
interface KernelInterface extends BaseKernelInterface, HttpKernelInterface
24+
{
25+
}

src/Symfony/Component/HttpKernel/Resources/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
// Naïve implementation of the BC layer
77

8-
class_alias(Kernel\KernelInterface::class, HttpKernel\KernelInterface::class);
98
class_alias(Kernel\RebootableInterface::class, HttpKernel\RebootableInterface::class);
109

1110
class_alias(Kernel\Bundle\BundleInterface::class, HttpKernel\Bundle\BundleInterface::class);

0 commit comments

Comments
 (0)