diff --git a/src/Configuration/Loader.php b/src/Configuration/Loader.php index 660511ef..03463fe9 100644 --- a/src/Configuration/Loader.php +++ b/src/Configuration/Loader.php @@ -179,11 +179,11 @@ public function boot(): Loader // Load the env configuration first $env_config = $this->createConfiguration(EnvConfiguration::class, $container); - // Load the .env or .env.json file - $this->loadEnvfile(); - $env_config->run(); + // Load the .env or .env.json file + $this->loadConfigFiles(); + // Configuration of services $loaded_configurations = $this->createConfigurations( array_merge([CompassConfiguration::class], $this->configurations()), @@ -279,7 +279,7 @@ private function loadEvents(): void * @return void * @throws */ - private function loadEnvfile(): void + private function loadConfigFiles(): void { /** * We load all Bow configuration