Spatie\DbDumper\Databases\MySql::getContentsOfCredentialsFile PHP 메소드

getContentsOfCredentialsFile() 공개 메소드

    public function getContentsOfCredentialsFile() : string
    {
        $contents = ['[client]', "user = '{$this->userName}'", "password = '{$this->password}'", "host = '{$this->host}'", "port = '{$this->port}'"];
        return implode(PHP_EOL, $contents);
    }