public function caption() : string
    {
        $template = $this->info()->captionTemplate;

        foreach ($this->info()->captionComponents as $variable) {
            $template = str_replace('$' . $variable->key, $variable->value, $template);
        }

        return $template;
    }