protected function delete(ServerRequestInterface $request) { $this->bus->dispatch(new ReadAllNotifications($request->getAttribute('actor'))); }