| 1 | <?php |
||
| 9 | final class AuthPlainCredentialsRequest implements RequestInterface |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $username; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $password; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * AuthPlainCommand constructor. |
||
| 24 | * @param string $username |
||
| 25 | * @param string $password |
||
| 26 | */ |
||
| 27 | 2 | public function __construct(string $username, string $password) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param ConnectionInterface $connection |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | 2 | public function execute(ConnectionInterface $connection) |
|
| 48 | } |