name : ResponseDelete.php
<?php

namespace Plivo\Resources;


use Plivo\Exceptions\PlivoRestException;

/**
 * Class ResponseDelete
 * @package Plivo\Resources
 */
class ResponseDelete
{
    /**
     * @var null
     */
    protected $message;

    /**
     * ResponseDelete constructor.
     * @param null $message
     */
    function __construct($message = null)
    {
        $this->message = $message;
    }

    /**
     * @param $name
     * @return mixed
     * @throws PlivoRestException
     */
    function __get($name)
    {
        if (property_exists($this, $name)) {
            return $this->$name;
        }

        throw new PlivoRestException('Delete response does not contain '.$name.' property');
    }
}

© 2025 UnknownSec
afwwrfwafr45458465
Password