public function setAcceptLanguageHeader(string $header)
    {
        if (Validation::isValidAcceptLanguage($header)) {
            $this->acceptLanguageHeader = $header;
        } else {
            throw new CustomException('Invalid accept language');
        }
    }