Participant Class ================= .. php:class:: Participant Represents a participant .. php:method:: __construct(string $id, ?string $alias = null, ?ParticipantType $type = null) Create a new Participant instance :param string $id: Participant id :param ?string $alias: Participant alias (default: use the id as the alias) :param ?ParticipantType $type: Participant type (default: no type) :returns: A new instance of ``Participant`` :rtype: Participant .. php:method:: addLink(array $link) Add Participant link(s) :param array $links: An array of link(s) as key=>value pairs where the keys are the link text and the values are the URLs :returns: A new instance of ``Participant`` with the link(s) added :rtype: Participant .. php:method:: withComment(string $comment) Sets a comment for the Participant :param string $comment: The comment :returns: A new instance of ``Participant`` with the comment :rtype: Participant .. php:method:: withLink(array $link) Set Participant link(s) :param array $links: An array of link(s) as key=>value pairs where the keys are the link text and the values are the URLs :returns: A new instance of ``Participant`` with the link(s) :rtype: Participant