File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
namespace DI \Bridge \Symfony ;
11
11
12
- use DI \ContainerBuilder as DiContainerBuilder ;
13
12
use Psr \Container \ContainerInterface ;
14
13
use Symfony \Component \Debug \DebugClassLoader ;
15
14
use Symfony \Component \DependencyInjection \Compiler \CheckExceptionOnInvalidReferenceBehaviorPass ;
@@ -38,11 +37,11 @@ public function __construct($environment, $debug)
38
37
/**
39
38
* Implement this method to configure PHP-DI.
40
39
*
41
- * @param DiContainerBuilder $builder
40
+ * @param \DI\ContainerBuilder $builder
42
41
*
43
42
* @return ContainerInterface
44
43
*/
45
- abstract protected function buildPHPDIContainer (DiContainerBuilder $ builder );
44
+ abstract protected function buildPHPDIContainer (\ DI \ ContainerBuilder $ builder );
46
45
47
46
protected function getContainerBaseClass ()
48
47
{
@@ -108,7 +107,7 @@ private function disableDebugClassLoader()
108
107
protected function getPHPDIContainer ()
109
108
{
110
109
if ($ this ->phpdiContainer === null ) {
111
- $ builder = new DiContainerBuilder ();
110
+ $ builder = new \ DI \ ContainerBuilder ();
112
111
$ builder ->wrapContainer ($ this ->getContainer ());
113
112
114
113
$ this ->phpdiContainer = $ this ->buildPHPDIContainer ($ builder );
You can’t perform that action at this time.
0 commit comments