File "FrontlineApi.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/Rest/FrontlineApi.php
File size: 687 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Twilio\Rest;

use Twilio\Rest\FrontlineApi\V1;

class FrontlineApi extends FrontlineApiBase {

    /**
     * @deprecated Use v1->users instead.
     */
    protected function getUsers(): \Twilio\Rest\FrontlineApi\V1\UserList {
        echo "users is deprecated. Use v1->users instead.";
        return $this->v1->users;
    }

    /**
     * @deprecated Use v1->users(\$sid) instead.
     * @param string $sid The SID of the User resource to fetch
     */
    protected function contextUsers(string $sid): \Twilio\Rest\FrontlineApi\V1\UserContext {
        echo "users(\$sid) is deprecated. Use v1->users(\$sid) instead.";
        return $this->v1->users($sid);
    }
}