postLogout = $request->getSession()->get('post_logout', false); } /** * @return Request */ public function getRequest() { return $this->request; } /** * @return bool */ public function isLogout() { return $this->postLogout; } public function addContent($content): void { $this->content[] = $content; } public function getContent(): string { return implode("\n\n", $this->content); } }