public function classList(...$args)
    {
        $classes = [];

        foreach ($args as $arg) {
            if (empty($arg)) {
                continue;
            } elseif (is_string($arg)) {
                $arg = explode(" ", $arg);
            }
            $classes = array_merge($classes, $arg);
        }

        return "class=\"" . implode(" ", $classes) . "\"";
    }