<?php
// components/Form/Presentation/DefaultPresenter.php

namespace Components\Form\Presentation;

class DefaultPresenter implements Presenter
{
    public static function render($value, array $def): string
    {
        $v = (string)$value;
        if ($v === '') { $v = \mh_lng('UI_EM_DASH','—'); }
        return \Components\Base::h($v);
    }
}
