feature #11869 #11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle (hacfi)

This PR was squashed before being merged into the 2.6-dev branch (closes #11869).

Discussion
----------

#11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes, deprecation targets 3.0
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #11652
| License       | MIT
| Doc PR        | - (Not mentioned in the docs)

Commits
-------

86873f2 #11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle
This commit is contained in:
Fabien Potencier 2014-09-08 21:56:12 +02:00
commit 5764482af6
3 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ CHANGELOG
----- -----
* deprecated `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`, use `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` instead * deprecated `Symfony\Component\HttpKernel\EventListener\ErrorsLoggerListener`, use `Symfony\Component\HttpKernel\EventListener\DebugHandlersListener` instead
* deprecated unused method `Symfony\Component\HttpKernel\Kernel::isClassInActiveBundle` and `Symfony\Component\HttpKernel\KernelInterface::isClassInActiveBundle`
2.5.0 2.5.0
----- -----

View File

@ -209,6 +209,8 @@ abstract class Kernel implements KernelInterface, TerminableInterface
* {@inheritdoc} * {@inheritdoc}
* *
* @api * @api
*
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
*/ */
public function isClassInActiveBundle($class) public function isClassInActiveBundle($class)
{ {

View File

@ -77,6 +77,8 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
* @return bool true if the class belongs to an active bundle, false otherwise * @return bool true if the class belongs to an active bundle, false otherwise
* *
* @api * @api
*
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
*/ */
public function isClassInActiveBundle($class); public function isClassInActiveBundle($class);