getOption(self::OPTION_HIDE_HOME_BUTTON, false), FILTER_VALIDATE_BOOLEAN ); } /** * @param bool $hide */ public function setHideHomeButton(bool $hide): void { $this->setOption(self::OPTION_HIDE_HOME_BUTTON, $hide); } /** * @return bool */ public function isLogoutButtonHidden(): bool { return filter_var( $this->getOption(self::OPTION_HIDE_LOGOUT_BUTTON, false), FILTER_VALIDATE_BOOLEAN ); } /** * @param bool $hide */ public function setHideLogoutButton(bool $hide): void { $this->setOption(self::OPTION_HIDE_LOGOUT_BUTTON, $hide); } }