public function notifications(): array
    {
        return array_map(
            function ($n) {
                return $this->toastr($n['type'], $n['message'], $n['title'], $n['options']);
            },
            $this->session->get(self::TOASTR_NOTIFICATIONS, [])
        );
    }