%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/o91-api/vendor/nexmo/client/src/Client/Response/
Upload File :
Create Path :
Current File : /var/www/html/o91-api/vendor/nexmo/client/src/Client/Response/AbstractResponse.php

<?php
/**
 * Nexmo Client Library for PHP
 *
 * @copyright Copyright (c) 2016 Nexmo, Inc. (http://nexmo.com)
 * @license   https://github.com/Nexmo/nexmo-php/blob/master/LICENSE.txt MIT License
 */

namespace Nexmo\Client\Response;


abstract class AbstractResponse implements ResponseInterface
{
    protected $data;

    public function getData()
    {
        return $this->data;
    }

    public function isSuccess()
    {
        return isset($this->data['status']) AND $this->data['status'] == 0;
    }

    public function isError()
    {
        return !$this->isSuccess();
    }
}

Zerion Mini Shell 1.0