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 @@ -532,8 +532,15 @@ protected function initializeContainer()
532
532
protected function getKernelParameters ()
533
533
{
534
534
$ bundles = array ();
535
+ $ bundlesMetadata = array ();
536
+
535
537
foreach ($ this ->bundles as $ name => $ bundle ) {
536
538
$ bundles [$ name ] = get_class ($ bundle );
539
+ $ bundlesMetadata [$ name ] = array (
540
+ 'parent ' => $ bundle ->getParent (),
541
+ 'path ' => $ bundle ->getPath (),
542
+ 'namespace ' => $ bundle ->getNamespace (),
543
+ );
537
544
}
538
545
539
546
return array_merge (
@@ -545,6 +552,7 @@ protected function getKernelParameters()
545
552
'kernel.cache_dir ' => realpath ($ this ->getCacheDir ()) ?: $ this ->getCacheDir (),
546
553
'kernel.logs_dir ' => realpath ($ this ->getLogDir ()) ?: $ this ->getLogDir (),
547
554
'kernel.bundles ' => $ bundles ,
555
+ 'kernel.bundles_metadata ' => $ bundlesMetadata ,
548
556
'kernel.charset ' => $ this ->getCharset (),
549
557
'kernel.container_class ' => $ this ->getContainerClass (),
550
558
),
You can’t perform that action at this time.
0 commit comments