private function createConfig()
    {
        $data = file_get_contents($this->stub);
        $data = str_replace('%password%', str_random(8), $data);
        return file_put_contents($this->config, $data);
    }
private function createConfig()
    {
        $data = file_get_contents($this->stub);
        $data = str_replace('%password%', str_random(8), $data);
        return file_put_contents($this->config, $data);
    }
private function createConfig ( ) { $ data = file_get_contents ( $ this -> stub ) ; $ data = str_replace ( '%password%' , str_random ( 8 ) , $ data ) ; return file_put_contents ( $ this -> config , $ data ) ; }
Crates a new config-file with a random password
@return string bytes written
Crates a new config - file with a random password