/**
* Try to retrieve a default setting from a config fallback.
*
* @param string $key
* @param mixed $default
*
* @return mixed config setting or default when not found
*/
protected function getDefault($key, $default)
{
if (!$this->fallback) {
return $default;
}
return $this->fallback->get($key, $default);
}