Skip to content

Commit 38261c6

Browse files
committed
Add isBreakout property to Meeting.
1 parent 28dbab8 commit 38261c6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Core/Meeting.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ class Meeting
151151
*/
152152
private $metas;
153153

154+
/**
155+
* @var bool
156+
*/
157+
private $isBreakout;
158+
154159
/**
155160
* Meeting constructor.
156161
* @param $xml \SimpleXMLElement
@@ -180,6 +185,7 @@ public function __construct($xml)
180185
$this->endTime = (float) $xml->endTime;
181186
$this->maxUsers = (int) $xml->maxUsers->__toString();
182187
$this->moderatorCount = (int) $xml->moderatorCount->__toString();
188+
$this->isBreakout = $xml->isBreakout->__toString() === 'true';
183189
}
184190

185191
/**
@@ -417,4 +423,9 @@ public function getMetas()
417423

418424
return $this->metas;
419425
}
426+
427+
public function isBreakout(): bool
428+
{
429+
return $this->isBreakout;
430+
}
420431
}

0 commit comments

Comments
 (0)