Файл: sngine-v2.8/Script/includes/libs/Twilio/TwiML/Voice/SsmlEmphasis.php
Строк: 16
<?php
/**
* This code was generated by
* / _ _ _| _ _
* | (_)/(_)(_|/| |(/_ v1.0.0
* / /
*/
namespace TwilioTwiMLVoice;
use TwilioTwiMLTwiML;
class SsmlEmphasis extends TwiML {
/**
* SsmlEmphasis constructor.
*
* @param string $words Words to emphasize
* @param array $attributes Optional attributes
*/
public function __construct($words, $attributes = []) {
parent::__construct('emphasis', $words, $attributes);
}
/**
* Add Level attribute.
*
* @param string $level Specify the degree of emphasis
*/
public function setLevel($level): self {
return $this->setAttribute('level', $level);
}
}