You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
597 B
33 lines
597 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\PluginBundle\Zoom\API;
|
|
|
|
use Exception;
|
|
|
|
class MeetingList
|
|
{
|
|
use Pagination;
|
|
|
|
/** @var MeetingListItem[] */
|
|
public $meetings;
|
|
|
|
/**
|
|
* MeetingList constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->meetings = [];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
protected function itemClass($propertyName)
|
|
{
|
|
if ('meetings' === $propertyName) {
|
|
return MeetingListItem::class;
|
|
}
|
|
throw new Exception("No such array property $propertyName");
|
|
}
|
|
}
|
|
|