October\Rain\Foundation\Bootstrap\LoadEnvironmentFromHost

Overview

LoadEnvironmentFromHost will set the APP_ENV based on a hostname found in the configuration file called environment.php. This was used in an earlier version where file-based configuration was the primary method. This approach is mostly incompatible with Laravel's convention so it will be sunsetted moving forward.


Public Methods

public bootstrap()

public bootstrap($app): void

bootstrap the given application

Protected Methods

protected getEnvironmentConfiguration()

protected getEnvironmentConfiguration(): array|null 

getEnvironmentConfiguration loads the file-based environment configuration