| 1 | <?php namespace Luminaire\Premailer; |
||
| 20 | class HtmlString extends BasePremailer |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The HTML source file content |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $content; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Create a new instance of "HTML String Premailer" |
||
| 32 | * |
||
| 33 | * @param string $htmlContent |
||
| 34 | */ |
||
| 35 | public function __construct($htmlContent) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Sets the HTML content |
||
| 42 | * |
||
| 43 | * @param string $htmlContent |
||
| 44 | * @return $this |
||
| 45 | */ |
||
| 46 | protected function setHtmlContent($htmlContent) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Gets the HTML content from the preferred source. |
||
| 62 | * |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | protected function getHtmlContent() |
||
| 69 | |||
| 70 | } |
||
| 71 |