for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Http\Message\Authentication;
/**
* Trait implementing the common username-password pattern.
*
* @author Márk Sági-Kazár <[email protected]>
*/
trait UserPasswordPair
{
* @var string
private $username;
private $password;
* Returns the username.
* @return string
public function getUsername()
return $this->username;
}
* Returns the password.
public function getPassword()
return $this->password;