dgd-backupper-php/app/Utils/Credential.php

46 lines
742 B
PHP

<?php
namespace App\Utils;
class Credential
{
private $username;
private $password;
/**
* @param string $username
* @return Credential
*/
public function setUsername(string $username): Credential
{
$this->username = $username;
return $this;
}
/**
* @return mixed
*/
public function getUsername()
{
return $this->username;
}
/**
* @param string $password
* @return Credential
*/
public function setPassword(string $password): Credential
{
$this->password = $password;
return $this;
}
/**
* @return mixed
*/
public function getPassword()
{
return $this->password;
}
}