private function validateFormatUri(string $subject): bool
    {
        return \filter_var($subject, \FILTER_VALIDATE_URL, \FILTER_FLAG_SCHEME_REQUIRED | \FILTER_FLAG_HOST_REQUIRED)
            !== false;
    }