for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PFlorek\BasicAuth;
class Credentials implements CredentialsInterface
{
/**
* @var string
*/
private $username;
private $password;
* @param string $username
* @param string $password
public function __construct($username, $password)
$this->username = $username;
$this->password = $password;
}
* @return string
public function getUsername()
return $this->username;
public function getPassword()
return $this->password;