<?php getenv(?string $name = null, bool $local_only = false): string|array|false
<?php protected function constructEnv() { $env = collect(getenv())->only(['HOME', 'LARAVEL_SAIL', 'COMPOSER_HOME', 'APPDATA', 'LOCALAPPDATA']); if (! $env->has('HOME') && $env->get('LARAVEL_SAIL') === '1') { $env['HOME'] = '/home/sail';