| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class LoginAuthenticator implements SMTPAuthenticator |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string SMTP username |
||
| 15 | */ |
||
| 16 | protected $username; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string SMTP password |
||
| 20 | */ |
||
| 21 | protected $password; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $username |
||
| 25 | * @param string $password |
||
| 26 | */ |
||
| 27 | public function __construct(string $username, string $password) |
||
| 28 | { |
||
| 29 | $this->username = $username; |
||
| 30 | $this->password = $password; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function authenticate(SMTPClient $client): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |