File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -498,8 +498,15 @@ protected function initializeContainer()
498
498
protected function getKernelParameters ()
499
499
{
500
500
$ bundles = array ();
501
+ $ bundlesMetadata = array ();
502
+
501
503
foreach ($ this ->bundles as $ name => $ bundle ) {
502
504
$ bundles [$ name ] = get_class ($ bundle );
505
+ $ bundlesMetadata [$ name ] = array (
506
+ 'parent ' => $ bundle ->getParent (),
507
+ 'path ' => $ bundle ->getPath (),
508
+ 'namespace ' => $ bundle ->getNamespace (),
509
+ );
503
510
}
504
511
505
512
return array_merge (
@@ -511,6 +518,7 @@ protected function getKernelParameters()
511
518
'kernel.cache_dir ' => realpath ($ this ->getCacheDir ()) ?: $ this ->getCacheDir (),
512
519
'kernel.logs_dir ' => realpath ($ this ->getLogDir ()) ?: $ this ->getLogDir (),
513
520
'kernel.bundles ' => $ bundles ,
521
+ 'kernel.bundles_metadata ' => $ bundlesMetadata ,
514
522
'kernel.charset ' => $ this ->getCharset (),
515
523
'kernel.container_class ' => $ this ->getContainerClass (),
516
524
),
You can’t perform that action at this time.
0 commit comments