$this->config =
$config;
$this->pageCache = Services::
responsecache();
} /**
* Handles some basic app and environment setup.
*/
public function initialize() { // Define environment variables
$this->
bootstrapEnvironment();
// Setup Exception Handling
Services::
exceptions()->
initialize();
// Run this check for manual installations
if (!
is_file(COMPOSER_PATH
)) { $this->
resolvePlatformExtensions(); // @codeCoverageIgnore
} // Set default locale on the server
Locale::
setDefault($this->config->defaultLocale ?? 'en'
);