Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class Integration extends \Codeception\Module |
||
10 | { |
||
11 | public function _before(\Codeception\TestInterface $test) |
||
14 | } |
||
15 | |||
16 | public function createSocketConnector(): SocketConnector |
||
17 | { |
||
18 | return new SocketConnector( |
||
19 | $this->config["smtp_host"], |
||
20 | $this->config["smtp_port"] |
||
21 | ); |
||
22 | } |
||
23 | |||
24 | public function createSecureSocketConnector(): SecureSocketConnector |
||
25 | { |
||
26 | return new SecureSocketConnector( |
||
27 | $this->config["smtp_ssl_host"], |
||
28 | $this->config["smtp_ssl_port"], |
||
29 | constant($this->config["smtp_ssl_crypto"]) |
||
30 | ); |
||
31 | } |
||
32 | |||
33 | public function createLoginAuthenticator(): LoginAuthenticator |
||
38 | ); |
||
39 | } |
||
40 | } |
||
41 |