File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
use ProxyManager \Proxy \GhostObjectInterface ;
16
16
use ProxyManager \Proxy \LazyLoadingInterface ;
17
17
use Symfony \Component \DependencyInjection \Container ;
18
- use Symfony \Component \VarExporter \LazyGhostObjectInterface ;
18
+ use Symfony \Component \VarExporter \LazyObjectInterface ;
19
19
20
20
/**
21
21
* References Doctrine connections and entity/document managers.
@@ -41,8 +41,8 @@ protected function resetService($name): void
41
41
}
42
42
$ manager = $ this ->container ->get ($ name );
43
43
44
- if ($ manager instanceof LazyGhostObjectInterface ) {
45
- if (!$ manager ->resetLazyGhostObject ()) {
44
+ if ($ manager instanceof LazyObjectInterface ) {
45
+ if (!$ manager ->resetLazyObject ()) {
46
46
throw new \LogicException (sprintf ('Resetting a non-lazy manager service is not supported. Declare the "%s" service as lazy. ' , $ name ));
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments