/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Account
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Account/Secret.php (1215B)
data = $data;
}
public function getId()
{
return $this['id'];
}
public function getCreatedAt()
{
return $this['created_at'];
}
public function getLinks()
{
return $this['_links'];
}
public static function fromApi($data)
{
if (!isset($data['id'])) {
throw new InvalidResponseException("Missing key: 'id");
}
if (!isset($data['created_at'])) {
throw new InvalidResponseException("Missing key: 'created_at");
}
return new self($data);
}
public function offsetExists($offset)
{
return isset($this->data[$offset]);
}
public function offsetGet($offset)
{
return $this->data[$offset];
}
public function offsetSet($offset, $value)
{
throw new \Exception('Secret::offsetSet is not implemented');
}
public function offsetUnset($offset)
{
throw new \Exception('Secret::offsetUnset is not implemented');
}
}