addNotification($value, $type); } /** * @return array */ public function get(): array { return $this->getNotifications(); } }