PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
messagebird
/
php-rest-api
/
src
/
MessageBird
/
Resources
<?php namespace MessageBird\Resources; use MessageBird\Common; use MessageBird\Objects; /** * Class Verify * * @package MessageBird\Resources */ class Verify extends Base { /** * @param Common\HttpClient $httpClient */ public function __construct(Common\HttpClient $httpClient) { $this->setObject(new Objects\Verify); $this->setResourceName('verify'); parent::__construct($httpClient); } /** * @param mixed $id * @param mixed $token * * @return $this->object * * @throws \MessageBird\Exceptions\HttpException * @throws \MessageBird\Exceptions\RequestException * @throws \MessageBird\Exceptions\ServerException */ public function verify($id, $token) { $resourceName = $this->resourceName . (($id) ? '/' . $id : null); list(, , $body) = $this->httpClient->performHttpRequest(Common\HttpClient::REQUEST_GET, $resourceName, ['token' => $token]); return $this->processRequest($body); } }
[-] LookupHlr.php
[edit]
[-] Hlr.php
[edit]
[+]
..
[-] Balance.php
[edit]
[-] Groups.php
[edit]
[+]
PartnerAccount
[+]
Conversation
[-] PhoneNumbers.php
[edit]
[-] Contacts.php
[edit]
[-] Verify.php
[edit]
[-] MmsMessages.php
[edit]
[-] Base.php
[edit]
[-] Messages.php
[edit]
[+]
Voice
[-] Lookup.php
[edit]
[-] VoiceMessage.php
[edit]
[+]
Chat
[-] AvailablePhoneNumbers.php
[edit]