mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 15:36:14 +00:00
20 lines
498 B
PHP
20 lines
498 B
PHP
<?php
|
|
|
|
namespace Chill\MainBundle\Templating;
|
|
|
|
interface TranslatableStringHelperInterface
|
|
{
|
|
/**
|
|
* return the string in current locale if it exists.
|
|
*
|
|
* If it does not exists; return the name in the first language available.
|
|
*
|
|
* Return a blank string if any strings are available.
|
|
* Return NULL if $translatableString is NULL
|
|
*
|
|
* @param array $translatableStrings
|
|
* @return string
|
|
*/
|
|
public function localize(array $translatableStrings);
|
|
}
|