public function getDefault($default)
{
if (array_key_exists($default, $this->defaults)) {
return $this->defaults[$default];
}
$class = get_class($this);
throw new \InvalidArgumentException("{$class}: default configuration {$default} does not exist.");
}