private function getValue(array $array, $key, $default = null) { return isset($array[$key]) === true ? $array[$key] : $default; }