File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \Bundle \FrameworkBundle \FrameworkBundle ;
16
16
use Symfony \Bundle \FrameworkBundle \Tests \TestCase ;
17
17
use Symfony \Component \Config \Loader \LoaderInterface ;
18
+ use Symfony \Component \DependencyInjection \ContainerBuilder ;
18
19
use Symfony \Component \Filesystem \Filesystem ;
19
20
use Symfony \Component \HttpKernel \Kernel ;
20
21
@@ -63,8 +64,11 @@ public function getCacheDir(): string
63
64
return $ this ->varDir .'/cache ' ;
64
65
}
65
66
66
- public function registerContainerConfiguration (LoaderInterface $ loader )
67
+ public function registerContainerConfiguration (LoaderInterface $ loader ): void
67
68
{
69
+ $ loader ->load (static function (ContainerBuilder $ container ) {
70
+ $ container ->loadFromExtension ('framework ' , ['http_method_override ' => false ]);
71
+ });
68
72
}
69
73
};
70
74
$ kernel ->boot ();
You can’t perform that action at this time.
0 commit comments