| 1 | <?php |
||
| 7 | abstract class AbstractFile implements PrintableContentInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $path; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $rawContent; |
||
| 18 | |||
| 19 | 1 | public function __construct(string $path, string $content = '') |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | 1 | public function getPath(): string |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $path |
||
| 35 | */ |
||
| 36 | 1 | public function setPath(string $path) |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function getRawContent(): string |
|
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $rawContent |
||
| 51 | */ |
||
| 52 | 1 | public function setRawContent(string $rawContent) |
|
| 56 | } |
||
| 57 |