protected function validate($input, $processSections = self::PHP_INI_PARSER_PROCESS_SECTIONS)
    {
        if (true === is_string($input)) {
            $input = @parse_ini_string($input, $processSections);
            // Convert our associative array to an object
            $input = array_to_object(
                array_change_key_case_recursive($input)
            );
        }

        return $input;
    }