Skip to content

Commit 807ebac

Browse files
[DI] Deprecate ContainerAware in favor of ContainerAwareTrait
1 parent 64917c7 commit 807ebac

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Symfony/Component/DependencyInjection/CHANGELOG.md

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

7+
* deprecated the abstract ContainerAware class in favor of ContainerAwareTrait
78
* deprecated IntrospectableContainerInterface, to be merged with ContainerInterface in 3.0
89
* allowed specifying a directory to recursively load all configuration files it contains
910
* deprecated the concept of scopes

src/Symfony/Component/DependencyInjection/ContainerAware.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* A simple implementation of ContainerAwareInterface.
1616
*
1717
* @author Fabien Potencier <fabien@symfony.com>
18+
*
19+
* @deprecated since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead.
1820
*/
1921
abstract class ContainerAware implements ContainerAwareInterface
2022
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy