mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
Merge branch '6.4' into 7.3
* 6.4: [HttpKernel] Simplified multi-app config
This commit is contained in:
@@ -124,18 +124,13 @@ resources::
|
||||
|
||||
class Kernel extends BaseKernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
use MicroKernelTrait { getConfigDir as getSharedConfigDir; }
|
||||
|
||||
public function __construct(string $environment, bool $debug, private string $id)
|
||||
{
|
||||
parent::__construct($environment, $debug);
|
||||
}
|
||||
|
||||
public function getSharedConfigDir(): string
|
||||
{
|
||||
return $this->getProjectDir().'/config';
|
||||
}
|
||||
|
||||
public function getAppConfigDir(): string
|
||||
{
|
||||
return $this->getProjectDir().'/apps/'.$this->id.'/config';
|
||||
|
||||
Reference in New Issue
Block a user