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 @@ -505,8 +505,15 @@ protected function initializeContainer()
505
505
protected function getKernelParameters ()
506
506
{
507
507
$ bundles = array ();
508
+ $ bundlesMetadata = array ();
509
+
508
510
foreach ($ this ->bundles as $ name => $ bundle ) {
509
511
$ bundles [$ name ] = get_class ($ bundle );
512
+ $ bundlesMetadata [$ name ] = array (
513
+ 'parent ' => $ bundle ->getParent (),
514
+ 'path ' => $ bundle ->getPath (),
515
+ 'namespace ' => $ bundle ->getNamespace (),
516
+ );
510
517
}
511
518
512
519
return array_merge (
@@ -518,6 +525,7 @@ protected function getKernelParameters()
518
525
'kernel.cache_dir ' => realpath ($ this ->getCacheDir ()) ?: $ this ->getCacheDir (),
519
526
'kernel.logs_dir ' => realpath ($ this ->getLogDir ()) ?: $ this ->getLogDir (),
520
527
'kernel.bundles ' => $ bundles ,
528
+ 'kernel.bundles_metadata ' => $ bundlesMetadata ,
521
529
'kernel.charset ' => $ this ->getCharset (),
522
530
'kernel.container_class ' => $ this ->getContainerClass (),
523
531
),
You can’t perform that action at this time.
0 commit comments