<?php
 namespace Engine\Menu\Structure; class MenuAbstract { protected $structure; protected $hasNotifications=false; protected $options = []; public function getStructure() { return $this->structure; } public function setNotificationsSupport($notifications) { $this->hasNotifications = $notifications; return $this; } public function hasNotificationsSupport() { return $this->hasNotifications; } public function setOption($key, $value) { $this->options[$key] = $value; return $this; } public function getOption($key) { return $this->options[$key]; } } 