1 | <?php declare(strict_types=1); |
||
13 | class Template |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $source; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $destination; |
||
24 | |||
25 | public function __construct(string $source, string $destination) |
||
30 | |||
31 | public function getDestination(): string |
||
35 | |||
36 | public function setDestination(string $destination): void |
||
40 | |||
41 | /** |
||
42 | * @throws TemplateNotValidException |
||
43 | */ |
||
44 | public function getContent(): string |
||
52 | |||
53 | public function setContents(string $contents): void |
||
57 | } |
||
58 |