Actor Class =========== .. php:class:: Actor Represents a participant that uses the actor symbol Actor extends Participant .. php:method:: __construct(string $id, ?string $alias = null, ?ParticipantType $type = null) Create a new Actor instance :param string $id: Actor id :param ?string $alias: Actor alias (default: use the id as the alias) :param ?ParticipantType $type: Actor type (default: no type) :returns: A new instance of ``Actor`` :rtype: Actor .. php:method:: withComment(string $comment) Sets a comment for the Actor :param string $comment: The comment :returns: A new instance of ``Actor`` with the comment :rtype: Actor