     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75

    <?php
    /**
     * TODO: BaML should eventually not
     * use trailing text SpeakSentence
     * in class names. Classes should be
     * like those listed at the bottom of
     * this file.
     */
    namespace Catapult;
    class BaMLVerbSpeakSentence extends BaMLVerb {
        public static $params = array(
            "sentence",
            "voice",
            "gender",
            "locale"
        );
    }
    class BaMLVerbTransfer extends BaMLVerb {
        public static $params = array(
           "transferTo",
           "transferCallerId"
        );
    }
    class BaMLVerbPlayAudio extends BaMLVerb {
        public static $params = array(
           "audioUrl",
           "digits"
        );
    }
    class BaMLVerbRedirect extends BaMLVerb {
        public static $params = array(
           "requestUrl",
           "timeout"
        );
    }
    class BaMLVerbRecord extends BaMLVerb {
        public static $params = array(
            "requestUrl",
            "requestUrlTimeout",
            "terminatingDigits",
            "maxDuration",
            "transcribe",
            "transcribeCallbackUrl"
        );
    }
    class BaMLVerbGather extends BaMLVerb {
        public static $params = array(
            "requestUrl",
            "requestUrlTimeout",
            "terminatingDigits",
            "maxDigits",
            "interDigitTimeout",
            "bargeable"
        );
    }

    class BaMLVerbSendMessage extends BaMLVerb {
        public static $params = array(
            "from",
            "to",
            "requestUrl",
            "requestUrlTimeout",
            "statusCallbackUrl"
        );
    }
    class BaMLVerbHangup extends BaMLVerb {}
    final class BaMLSpeakSentence extends BaMLVerbSpeakSentence {}
    final class BaMLTransfer extends BaMLVerbTransfer {}
    final class BaMLPlayAudio extends BaMLVerbPlayAudio {}
    final class BaMLRedirect extends BaMLVerbRedirect {}
    final class BaMLGather extends BaMLVerbGather {}
    final class BaMLSendMessage extends BaMLVerbSendMessage {}
    final class BaMLHangup extends BaMLVerbHangup {}