From 889ed1b305bd71c4fa583ae4eda18baa9bc84f59 Mon Sep 17 00:00:00 2001 From: Samuel Weirich <4281791+SamuelWei@users.noreply.github.com> Date: Mon, 9 Nov 2026 16:51:30 +0100 Subject: [PATCH] Deprecate defaultLayout --- src/Parameters/JoinMeetingParameters.php | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Parameters/JoinMeetingParameters.php b/src/Parameters/JoinMeetingParameters.php index dfc97f22..49d09e6d 100644 --- a/src/Parameters/JoinMeetingParameters.php +++ b/src/Parameters/JoinMeetingParameters.php @@ -38,8 +38,6 @@ * @method $this setUserID(string $userID) * @method string|null getWebVoiceConf() * @method $this setWebVoiceConf(string $webVoiceConf) - * @method string|null getDefaultLayout() - * @method $this setDefaultLayout(string $defaultLayout) * @method string|null getAvatarURL() * @method $this setAvatarURL(string $avatarURL) * @method bool|null isRedirect() @@ -86,4 +84,22 @@ final class JoinMeetingParameters extends UserDataParameters public function __construct(protected string $meetingID, protected string $fullName, protected Role $role) { } + + /** + * @deprecated Removed in BBB 3.0 — use addUserData('bbb_default_layout', ...) instead; will be removed in 8.0. + */ + public function getDefaultLayout(): ?string + { + return $this->defaultLayout; + } + + /** + * @deprecated Removed in BBB 3.0 — use addUserData('bbb_default_layout', ...) instead; will be removed in 8.0. + */ + public function setDefaultLayout(string $defaultLayout): self + { + $this->defaultLayout = $defaultLayout; + + return $this; + } }