Skip to content

Commit bca0e99

Browse files
hacfifabpot
authored andcommitted
#11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle
1 parent 4891833 commit bca0e99

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
-----
66

77
* deprecated `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`, use `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` instead
8+
* deprecated unused method `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle`
89

910
2.5.0
1011
-----

Kernel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ public function getBundles()
209209
* {@inheritdoc}
210210
*
211211
* @api
212+
*
213+
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
212214
*/
213215
public function isClassInActiveBundle($class)
214216
{

KernelInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public function getBundles();
7777
* @return bool true if the class belongs to an active bundle, false otherwise
7878
*
7979
* @api
80+
*
81+
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
8082
*/
8183
public function isClassInActiveBundle($class);
8284

0 commit comments

Comments
 (0)