src/Models/CredentialsModel.php
<?php
/**
* Created by David Cardenas
* GitHub: https://github.com/dcardenascom
* GitLab: https://gitlab.com/dcardenas
* Site: http://dcardenas.com
* LinkedIn: https://www.linkedin.com/in/davidcardenasguia/.
*/
namespace Lemonway\Models;
/**
* Class CredentialsModel.
*/
class CredentialsModel extends CommonModel
{
/** @var string */
private $username;
/** @var string */
private $password;
/**
* CredentialsModel constructor.
*
* @param string $username
* @param string $password
*/
public function __construct(string $username, string $password)
{
$this->username = $username;
$this->password = $password;
}
/**
* @return string
*/
public function getUsername(): string
{
return $this->username;
}
/**
* @return string
*/
public function getPassword(): string
{
return $this->password;
}
}