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