Devise\Support\Config\EnvironmentFileManager::createIfNotExists PHP Метод

createIfNotExists() публичный Метод

Checks for existence of .env file, if not it creates a new one.
public createIfNotExists ( ) : void
Результат void
    public function createIfNotExists()
    {
        if (!$this->files->exists($this->envFile)) {
            $this->save(['APP_DEBUG' => true]);
        }
    }