TaskSystem/vendor/symfony/translation-contracts/TranslatableInterface.php

21 lines
457 B
PHP
Raw Normal View History

2023-07-15 10:16:32 +08:00
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2023-08-09 14:43:30 +08:00
namespace Symfony\Contracts\Translation;
2023-07-15 10:16:32 +08:00
/**
2023-08-09 14:43:30 +08:00
* @author Nicolas Grekas <p@tchwork.com>
2023-07-15 10:16:32 +08:00
*/
2023-08-09 14:43:30 +08:00
interface TranslatableInterface
2023-07-15 10:16:32 +08:00
{
2023-08-09 14:43:30 +08:00
public function trans(TranslatorInterface $translator, string $locale = null): string;
2023-07-15 10:16:32 +08:00
}