Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
Text | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | /** |
3 | * Pop PHP Framework (http://www.popphp.org/) |
4 | * |
5 | * @link https://github.com/popphp/popphp-framework |
6 | * @author Nick Sagona, III <dev@nolainteractive.com> |
7 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
8 | * @license http://www.popphp.org/license New BSD License |
9 | */ |
10 | |
11 | /** |
12 | * @namespace |
13 | */ |
14 | namespace Pop\Mail\Message; |
15 | |
16 | /** |
17 | * Text message part class |
18 | * |
19 | * @category Pop |
20 | * @package Pop\Mail |
21 | * @author Nick Sagona, III <dev@nolainteractive.com> |
22 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
23 | * @license http://www.popphp.org/license New BSD License |
24 | * @version 4.0.0 |
25 | */ |
26 | class Text extends AbstractPart |
27 | { |
28 | |
29 | /** |
30 | * Constructor |
31 | * |
32 | * Instantiate the message part object |
33 | * |
34 | * @param string $content |
35 | * @param string $contentType |
36 | * @param ?string $encoding |
37 | * @param bool $chunk |
38 | */ |
39 | public function __construct(string $content, string $contentType = 'text/plain', ?string $encoding = null, bool $chunk = false) |
40 | { |
41 | parent::__construct($content, $contentType, $encoding, $chunk); |
42 | } |
43 | |
44 | } |