| Name | Size | Mode | Actions |
|---|---|---|---|
| Account/ | - | 0755 | rm |
| Application/ | - | 0755 | rm |
| Call/ | - | 0755 | rm |
| Client/ | - | 0755 | rm |
| Conversations/ | - | 0755 | rm |
| Conversion/ | - | 0755 | rm |
| Entity/ | - | 0755 | rm |
| Insights/ | - | 0755 | rm |
| Message/ | - | 0755 | rm |
| Network/ | - | 0755 | rm |
| Numbers/ | - | 0755 | rm |
| Redact/ | - | 0755 | rm |
| Response/ | - | 0755 | rm |
| User/ | - | 0755 | rm |
| Verify/ | - | 0755 | rm |
| Voice/ | - | 0755 | rm |
| ApiErrorHandler.php | 1207 | 0644 | editdlrm |
| Client.php | 17505 | 0644 | editdlrm |
| InvalidResponseException.php | 79 | 0644 | editdlrm |
| Network.php | 2280 | 0644 | editdlrm |
| Response.php | 2922 | 0644 | editdlrm |
/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Response.php (2922B)
* The return value is cast to an integer.
*/
public function count()
{
return $this->data['message-count'];
}
/**
* (PHP 5 >= 5.0.0)
* Return the current element
* @link http://php.net/manual/en/iterator.current.php
* @return \Nexmo\Response\Message
*/
public function current()
{
if (!isset($this->messages[$this->position])) {
$this->messages[$this->position] = new Message($this->data['messages'][$this->position]);
}
return $this->messages[$this->position];
}
/**
* (PHP 5 >= 5.0.0)
* Move forward to next element
* @link http://php.net/manual/en/iterator.next.php
* @return void Any returned value is ignored.
*/
public function next()
{
$this->position++;
}
/**
* (PHP 5 >= 5.0.0)
* Return the key of the current element
* @link http://php.net/manual/en/iterator.key.php
* @return int
*/
public function key()
{
return $this->position;
}
/**
* (PHP 5 >= 5.0.0)
* Checks if current position is valid
* @link http://php.net/manual/en/iterator.valid.php
* @return boolean The return value will be casted to boolean and then evaluated.
* Returns true on success or false on failure.
*/
public function valid()
{
return isset($this->data['messages'][$this->position]);
}
/**
* (PHP 5 >= 5.0.0)
* Rewind the Iterator to the first element
* @link http://php.net/manual/en/iterator.rewind.php
* @return void Any returned value is ignored.
*/
public function rewind()
{
$this->position = 0;
}
public function toArray()
{
return $this->data;
}
}