From cbd383f92df9e48090ac2c4197b6a042884379ad Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Thu, 29 Apr 2021 17:40:19 +0100 Subject: [PATCH] [RIGHT] Introduce component abstraction --- components/Right/Right.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 components/Right/Right.php diff --git a/components/Right/Right.php b/components/Right/Right.php new file mode 100644 index 0000000000..62ddce268b --- /dev/null +++ b/components/Right/Right.php @@ -0,0 +1,31 @@ +. +// }}} + +namespace Component\Right; + +use App\Core\Event; +use App\Core\Modules\Component; + +class Right extends Component +{ + public function onEndTwigPopulateVars(array &$vars) + { + return Event::next; + } +}