| 1 | <?php |
||
| 6 | class Template |
||
| 7 | { |
||
| 8 | private $name; |
||
| 9 | private $data; |
||
| 10 | private $context; |
||
| 11 | private $content; |
||
| 12 | |||
| 13 | public function __construct( |
||
| 24 | |||
| 25 | public function getName() { |
||
| 28 | |||
| 29 | public function getData() { |
||
| 32 | |||
| 33 | public function getContext() { |
||
| 36 | |||
| 37 | public function getContent() { |
||
| 40 | |||
| 41 | public function withName($name) { |
||
| 44 | |||
| 45 | public function withData(array $data) { |
||
| 48 | |||
| 49 | public function withContext(array $context) { |
||
| 52 | |||
| 53 | public function withContent(Content $content) { |
||
| 56 | } |
||
| 57 |