/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Account
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Account/SecretCollection.php (1130B)
data = [
'secrets' => $secrets,
'_links' => $links
];
}
public function getSecrets()
{
return $this['secrets'];
}
public function getLinks()
{
return $this['_links'];
}
public static function fromApi($data)
{
$secrets = [];
foreach ($data['_embedded']['secrets'] as $s) {
$secrets[] = Secret::fromApi($s);
}
return new self($secrets, $data['_links']);
}
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('SecretCollection::offsetSet is not implemented');
}
public function offsetUnset($offset)
{
throw new \Exception('SecretCollection::offsetUnset is not implemented');
}
}