src/VagrantTransient.php
public function save()
    {
        if (true == file_exists($this->getFileName())) {
            unlink($this->getFileName());
        }
        touch($this->getFileName());
        $content = "";
        foreach ($this->getEnvironments() as $environment) {
            $content .= "{$environment}\n";
        }
        file_put_contents($this->getFileName(), $content);
        return $content;
    }
public function save()
    {
        if (true == file_exists($this->getFileName())) {
            unlink($this->getFileName());
        }
        touch($this->getFileName());
        $content = "";
        foreach ($this->getEnvironments() as $environment) {
            $content .= "{$environment}\n";
        }
        file_put_contents($this->getFileName(), $content);
        return $content;
    }
public function save ( ) { if ( true == file_exists ( $ this -> getFileName ( ) ) ) { unlink ( $ this -> getFileName ( ) ) ; } touch ( $ this -> getFileName ( ) ) ; $ content = "" ; foreach ( $ this -> getEnvironments ( ) as $ environment ) { $ content .= "{$environment}\n" ; } file_put_contents ( $ this -> getFileName ( ) , $ content ) ; return $ content ; }
This method iterates over the _environments writing them to disk.

@return string
This method iterates over the _environments writing them to disk .