1 | <?php namespace Luminaire\Premailer; |
||
20 | class HtmlFile extends BasePremailer |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * File path of the HTML source file |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $filename; |
||
29 | |||
30 | /** |
||
31 | * Create a new instance of "HTML File Premailer" |
||
32 | * |
||
33 | * @param string $filename |
||
34 | */ |
||
35 | public function __construct($filename) |
||
39 | |||
40 | /** |
||
41 | * Sets the file path of the HTML source file. |
||
42 | * |
||
43 | * @param string $filename |
||
44 | * @return $this |
||
45 | */ |
||
46 | protected function setFilename($filename) |
||
68 | |||
69 | /** |
||
70 | * Gets the file path of the HTML source file. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function getFilename() |
||
78 | |||
79 | /** |
||
80 | * Gets the HTML content from the preferred source. |
||
81 | * |
||
82 | * @return string |
||
83 | */ |
||
84 | protected function getHtmlContent() |
||
88 | |||
89 | } |
||
90 |