* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Message; use Respect\Validation\Result; interface StringFormatter { /** @param array $templates */ public function format(Result $result, array $templates, Translator $translator): string; }