| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ParticipantList |
||
| 16 | { |
||
| 17 | use PaginationToken; |
||
| 18 | |||
| 19 | /** @var ParticipantListItem[] */ |
||
| 20 | public $participants; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ParticipantList constructor. |
||
| 24 | */ |
||
| 25 | public function __construct() |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Retrieves a meeting instance's participants. |
||
| 32 | * |
||
| 33 | * @param string $instanceUUID |
||
| 34 | * |
||
| 35 | * @throws Exception |
||
| 36 | * |
||
| 37 | * @return ParticipantListItem[] participants |
||
| 38 | */ |
||
| 39 | public static function loadInstanceParticipants($instanceUUID) |
||
| 40 | { |
||
| 41 | return static::loadItems( |
||
| 42 | 'participants', |
||
| 43 | 'past_meetings/'.htmlentities($instanceUUID).'/participants' |
||
| 44 | ); |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public function itemClass($propertyName) |
||
| 56 | } |
||
| 57 | } |
||
| 58 |