JonathanTorres\Construct\Construct::environmentFiles PHP Метод

environmentFiles() защищенный Метод

Generate .env environment files and add package to the development requirements.
protected environmentFiles ( ) : void
Результат void
    protected function environmentFiles()
    {
        $this->developmentRequirements[] = 'vlucas/phpdotenv';
        $this->file->copy(__DIR__ . '/stubs/env.stub', $this->projectLower . '/' . '.env');
        $this->file->copy(__DIR__ . '/stubs/env.stub', $this->projectLower . '/' . '.env.example');
        $this->exportIgnores[] = '.env';
        $this->gitIgnores[] = '.env';
    }