File tree Expand file tree Collapse file tree 3 files changed +2
-51
lines changed
Expand file tree Collapse file tree 3 files changed +2
-51
lines changed Original file line number Diff line number Diff line change 1212namespace Symfony \Bridge \Doctrine ;
1313
1414use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
15- use Symfony \Component \DependencyInjection \ContainerInterface ;
15+ use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
1616use Doctrine \Common \Persistence \AbstractManagerRegistry ;
1717
1818/**
2222 */
2323abstract class ManagerRegistry extends AbstractManagerRegistry implements ContainerAwareInterface
2424{
25- /**
26- * @var ContainerInterface
27- */
28- protected $ container ;
25+ use ContainerAwareTrait;
2926
3027 /**
3128 * {@inheritdoc}
@@ -42,12 +39,4 @@ protected function resetService($name)
4239 {
4340 $ this ->container ->set ($ name , null );
4441 }
45-
46- /**
47- * {@inheritdoc}
48- */
49- public function setContainer (ContainerInterface $ container = null )
50- {
51- $ this ->container = $ container ;
52- }
5342}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \HttpKernel \Bundle ;
1313
14- use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
1514use Symfony \Component \DependencyInjection \ContainerAwareTrait ;
1615use Symfony \Component \DependencyInjection \ContainerBuilder ;
1716use Symfony \Component \DependencyInjection \Container ;
You can’t perform that action at this time.
0 commit comments