0
0

More than 1 year has passed since last update.

$app->loadEnvironmentFrom('.env.example');

Posted at

loadEnvironmentFromでenvをロードしてるわけではない。.envを上書きしてるだけ。.envとloadEnvironmentFrom()の引数の.envが両方ロードされることもない

    /**
     * The environment file to load during bootstrapping.
     *
     * @var string
     */
    protected $environmentFile = '.env';

    public function loadEnvironmentFrom($file)
    {
        $this->environmentFile = $file;

        return $this;
    }
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0