public setSandbox ( $value ) |
public function setSandbox($value)
{
if (is_bool($value)) {
$this->config['sandbox'] = $value;
} else {
throw new \Exception($value . ' is of type ' . gettype($value) . ' and should be a boolean value');
}
}