Twilio\TwiML\Voice\Prompt
Synopsis
class Prompt
extends TwiML
{
- // Inherited members from TwiML
- protected $name;
- protected $attributes;
- protected $children;
- // methods
- public void __construct()
- public Say say()
- public Play play()
- public Pause pause()
- public Prompt setFor_()
- public Prompt setErrorType()
- public Prompt setCardType()
- public Prompt setAttempt()
- public Prompt setRequireMatchingInputs()
- // Inherited methods from TwiML
- public void __construct()
- public TwiML append()
- public TwiML nest()
- public Prompt setAttribute()
- public TwiML addChild()
- public string asXML()
- public string __toString()
Hierarchy
Extends
Members
protected
- $attributes
- $children
- $name
Methods
public
- __construct() — Prompt constructor.
- pause() — Add Pause child.
- play() — Add Play child.
- say() — Add Say child.
- setAttempt() — Add Attempt attribute.
- setCardType() — Add CardType attribute.
- setErrorType() — Add ErrorType attribute.
- setFor_() — Add For_ attribute.
- setRequireMatchingInputs() — Add RequireMatchingInputs attribute.
Inherited from Twilio\TwiML\TwiML
public
- __toString() — Convert TwiML to XML string.
- addChild()
- append() — Add a TwiML element.
- asXML() — Convert TwiML to XML string.
- nest() — Add a TwiML element.
- setAttribute() — Set TwiML attribute.