ok

Mini Shell

Direktori : /home2/selectio/www/ecommerce-website/website/vendor/twilio/sdk/src/Twilio/TwiML/Voice/
Upload File :
Current File : /home2/selectio/www/ecommerce-website/website/vendor/twilio/sdk/src/Twilio/TwiML/Voice/Reject.php

<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\TwiML\Voice;

use Twilio\TwiML\TwiML;

class Reject extends TwiML {
    /**
     * Reject constructor.
     *
     * @param array $attributes Optional attributes
     */
    public function __construct($attributes = []) {
        parent::__construct('Reject', null, $attributes);
    }

    /**
     * Add Parameter child.
     *
     * @param array $attributes Optional attributes
     * @return Parameter Child element.
     */
    public function parameter($attributes = []): Parameter {
        return $this->nest(new Parameter($attributes));
    }

    /**
     * Add Reason attribute.
     *
     * @param string $reason Rejection reason
     */
    public function setReason($reason): self {
        return $this->setAttribute('reason', $reason);
    }
}

Zerion Mini Shell 1.0