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