public static function format(string $format, string ...$arguments) : string
    {
        foreach ($arguments as $key => $value) {
            $format = str_replace("{{$key}}", (string)$value, $format);
        }

        return $format;
    }