public function format(FormatInterface $format): string
    {

        $template = $format->getTemplate();
        $replacements = $format->getReplacements();

        return $this->parse($template, $replacements);
    }