summaryrefslogtreecommitdiff
path: root/src/Controller/FeedController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controller/FeedController.php')
-rw-r--r--src/Controller/FeedController.php47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/Controller/FeedController.php b/src/Controller/FeedController.php
deleted file mode 100644
index 8bba37f..0000000
--- a/src/Controller/FeedController.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-
-namespace HN\Controllers;
-
-class FeedController
-{
- /**
- * @var string
- */
- private string $canonical_url;
- /**
- * @var string
- */
- private string $description;
- /**
- * @var string
- */
- private string $title;
- /**
- * @var string
- */
- private string $content;
- /**
- * @var false|string
- */
- private mixed $current_year;
-
- public function __construct(string $canonical_url, string $description, string $title, string $content)
- {
- $this->canonical_url = $canonical_url;
- $this->description = $description;
- $this->title = $title;
- $this->content = $content;
- $this->current_year = date("Y");
- }
-
- /**
- * Request template to be presented to the user
- *
- * @access public
- * @author Christian Cleberg <[email protected]>
- */
- public function render(): void
- {
- include_once 'src/View/BaseTemplate.php';
- }
-}