Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Email |
||
12 | { |
||
13 | /** @var Client */ |
||
14 | private $client; |
||
15 | |||
16 | public function __construct(Client $client) |
||
17 | { |
||
18 | $this->client = $client; |
||
19 | } |
||
20 | |||
21 | public function send(array $params = [], $attachmentPaths = []): Send |
||
22 | { |
||
23 | $send = new Send($this->client); |
||
24 | |||
25 | return $send->handle($params, $attachmentPaths); |
||
26 | } |
||
27 | |||
28 | public function status() |
||
31 | } |
||
32 | } |
||
33 |