aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/View/class-template.php23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/View/class-template.php b/src/View/class-template.php
index ddcb1fa..f0bfdcd 100644
--- a/src/View/class-template.php
+++ b/src/View/class-template.php
@@ -9,7 +9,28 @@ namespace HN\View;
*/
class Template
{
- public function __construct(string $canonical_url, string $page_description, string $page_title, string $content_col) {
+ /**
+ * @var string
+ */
+ private $canonical_url;
+ /**
+ * @var string
+ */
+ private $description;
+ /**
+ * @var string
+ */
+ private $title;
+ /**
+ * @var string
+ */
+ private $content;
+ /**
+ * @var false|string
+ */
+ private $current_year;
+
+ public function __construct(string $canonical_url, string $page_description, string $page_title, string $content_col) {
$this->canonical_url = $canonical_url;
$this->description = $page_description;
$this->title = $page_title;