forked from jakubsuchy/amazon-alexa-php
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add enumerations for valid card types and outputspeech types
- Loading branch information
Pete Burkindine
committed
Mar 11, 2017
1 parent
1eae822
commit 5226243
Showing
7 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace Alexa\Response\Card; | ||
|
||
/** | ||
* Class CardTypes | ||
* | ||
* Enumeration of the allowed Alexa card types | ||
* | ||
* @package Alexa\Response\Card | ||
*/ | ||
abstract class CardTypes | ||
{ | ||
// Constants | ||
|
||
const TYPE_SIMPLE = 'Simple'; | ||
const TYPE_STANDARD = 'Standard'; | ||
const TYPE_LINK_ACCOUNT = 'LinkAccount'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Alexa\Response\OutputSpeech; | ||
|
||
/** | ||
* Class OutputSpeechTypes | ||
* | ||
* Enumeration of the allowed OutputSpeech types | ||
* | ||
* @package Alexa\Response\OutputSpeech | ||
*/ | ||
abstract class OutputSpeechTypes | ||
{ | ||
// Constants | ||
|
||
const TYPE_PLAIN_TEXT = 'PlainText'; | ||
const TYPE_SSML = 'SSML'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters