Skip to content

Commit

Permalink
Удаление лишнего
Browse files Browse the repository at this point in the history
  • Loading branch information
ProklUng committed Sep 12, 2021
1 parent 0f8fd59 commit 13131d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,9 @@ private function loadContainer(string $fileName)

$this->setDefaultParamsContainer();

// Дополнить переменные приложения сведениями о зарегистрированных бандлах.
static::$containerBuilder->get('kernel')->registerStandaloneBundles();

// Инициализация автономных бандлов.
$this->loadSymfonyBundles();

Expand Down Expand Up @@ -640,9 +643,6 @@ private function initialize(string $fileName): ?ContainerBuilder
try {
$this->loadContainer($fileName);

// Дополнить переменные приложения сведениями о зарегистрированных бандлах.
static::$containerBuilder->get('kernel')->registerStandaloneBundles();

$this->bundlesLoader->registerExtensions(static::$containerBuilder);

static::$containerBuilder->compile(true);
Expand Down

0 comments on commit 13131d7

Please sign in to comment.