File "Room.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/TwiML/Voice/Room.php
File size: 819 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\TwiML\Voice;
use Twilio\TwiML\TwiML;
class Room extends TwiML {
/**
* Room constructor.
*
* @param string $name Room name
* @param array $attributes Optional attributes
*/
public function __construct($name, $attributes = []) {
parent::__construct('Room', $name, $attributes);
}
/**
* Add ParticipantIdentity attribute.
*
* @param string $participantIdentity Participant identity when connecting to
* the Room
*/
public function setParticipantIdentity($participantIdentity): self {
return $this->setAttribute('participantIdentity', $participantIdentity);
}
}