SYMBOL INDEX (953 symbols across 168 files) FILE: Catalogue/AbstractOperation.php class AbstractOperation (line 27) | abstract class AbstractOperation implements OperationInterface method __construct (line 63) | public function __construct( method getDomains (line 75) | public function getDomains(): array method getMessages (line 95) | public function getMessages(string $domain): array method getNewMessages (line 108) | public function getNewMessages(string $domain): array method getObsoleteMessages (line 121) | public function getObsoleteMessages(string $domain): array method getResult (line 134) | public function getResult(): MessageCatalogueInterface method moveMessagesToIntlDomainsIfPossible (line 148) | public function moveMessagesToIntlDomainsIfPossible(string $batch = se... method processDomain (line 182) | abstract protected function processDomain(string $domain): void; FILE: Catalogue/MergeOperation.php class MergeOperation (line 25) | class MergeOperation extends AbstractOperation method processDomain (line 27) | protected function processDomain(string $domain): void FILE: Catalogue/OperationInterface.php type OperationInterface (line 35) | interface OperationInterface method getDomains (line 40) | public function getDomains(): array; method getMessages (line 45) | public function getMessages(string $domain): array; method getNewMessages (line 50) | public function getNewMessages(string $domain): array; method getObsoleteMessages (line 55) | public function getObsoleteMessages(string $domain): array; method getResult (line 60) | public function getResult(): MessageCatalogueInterface; FILE: Catalogue/TargetOperation.php class TargetOperation (line 26) | class TargetOperation extends AbstractOperation method processDomain (line 28) | protected function processDomain(string $domain): void FILE: CatalogueMetadataAwareInterface.php type CatalogueMetadataAwareInterface (line 19) | interface CatalogueMetadataAwareInterface method getCatalogueMetadata (line 30) | public function getCatalogueMetadata(string $key = '', string $domain ... method setCatalogueMetadata (line 35) | public function setCatalogueMetadata(string $key, mixed $value, string... method deleteCatalogueMetadata (line 43) | public function deleteCatalogueMetadata(string $key = '', string $doma... FILE: Command/TranslationLintCommand.php class TranslationLintCommand (line 31) | #[AsCommand(name: 'lint:translations', description: 'Lint translations f... method __construct (line 36) | public function __construct( method complete (line 44) | public function complete(CompletionInput $input, CompletionSuggestions... method configure (line 51) | protected function configure(): void method initialize (line 65) | protected function initialize(InputInterface $input, OutputInterface $... method execute (line 70) | protected function execute(InputInterface $input, OutputInterface $out... FILE: Command/TranslationPullCommand.php class TranslationPullCommand (line 32) | #[AsCommand(name: 'translation:pull', description: 'Pull translations fr... method __construct (line 37) | public function __construct( method complete (line 49) | public function complete(CompletionInput $input, CompletionSuggestions... method configure (line 78) | protected function configure(): void method execute (line 113) | protected function execute(InputInterface $input, OutputInterface $out... FILE: Command/TranslationPushCommand.php class TranslationPushCommand (line 32) | #[AsCommand(name: 'translation:push', description: 'Push translations to... method __construct (line 37) | public function __construct( method complete (line 47) | public function complete(CompletionInput $input, CompletionSuggestions... method configure (line 71) | protected function configure(): void method execute (line 108) | protected function execute(InputInterface $input, OutputInterface $out... method getDomainsFromTranslatorBag (line 167) | private function getDomainsFromTranslatorBag(TranslatorBag $translator... FILE: Command/TranslationTrait.php type TranslationTrait (line 21) | trait TranslationTrait method readLocalTranslations (line 23) | private function readLocalTranslations(array $locales, array $domains,... method filterCatalogue (line 45) | private function filterCatalogue(MessageCatalogue $catalogue, string $... FILE: Command/XliffLintCommand.php class XliffLintCommand (line 35) | #[AsCommand(name: 'lint:xliff', description: 'Lint an XLIFF file and out... method __construct (line 43) | public function __construct( method configure (line 55) | protected function configure(): void method execute (line 85) | protected function execute(InputInterface $input, OutputInterface $out... method validate (line 114) | private function validate(string $content, ?string $file = null): array method display (line 159) | private function display(SymfonyStyle $io, array $files): int method displayTxt (line 169) | private function displayTxt(SymfonyStyle $io, array $filesInfo, bool $... method displayJson (line 201) | private function displayJson(SymfonyStyle $io, array $filesInfo): int method getFiles (line 220) | private function getFiles(string $fileOrDirectory): iterable method getDirectoryIterator (line 240) | private function getDirectoryIterator(string $directory): iterable method isReadable (line 254) | private function isReadable(string $fileOrDirectory): bool method getTargetLanguageFromFile (line 265) | private function getTargetLanguageFromFile(\DOMDocument $xliffContents... method complete (line 276) | public function complete(CompletionInput $input, CompletionSuggestions... method getAvailableFormatOptions (line 284) | private function getAvailableFormatOptions(): array FILE: DataCollector/TranslationDataCollector.php class TranslationDataCollector (line 26) | class TranslationDataCollector extends DataCollector implements LateData... method __construct (line 28) | public function __construct( method lateCollect (line 33) | public function lateCollect(): void method collect (line 43) | public function collect(Request $request, Response $response, ?\Throwa... method reset (line 50) | public function reset(): void method getMessages (line 55) | public function getMessages(): array|Data method getCountMissings (line 60) | public function getCountMissings(): int method getCountFallbacks (line 65) | public function getCountFallbacks(): int method getCountDefines (line 70) | public function getCountDefines(): int method getLocale (line 75) | public function getLocale(): ?string method getFallbackLocales (line 83) | public function getFallbackLocales(): Data|array method getGlobalParameters (line 91) | public function getGlobalParameters(): Data|array method getName (line 96) | public function getName(): string method sanitizeCollectedMessages (line 101) | private function sanitizeCollectedMessages(array $messages): array method computeCount (line 126) | private function computeCount(array $messages): array method sanitizeString (line 141) | private function sanitizeString(string $string, int $length = 80): string FILE: DataCollectorTranslator.php class DataCollectorTranslator (line 22) | final class DataCollectorTranslator implements TranslatorInterface, Tran... method __construct (line 30) | public function __construct( method reset (line 35) | public function reset(): void method trans (line 40) | public function trans(?string $id, array $parameters = [], ?string $do... method setLocale (line 48) | public function setLocale(string $locale): void method getLocale (line 53) | public function getLocale(): string method getCatalogue (line 58) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 63) | public function getCatalogues(): array method warmUp (line 68) | public function warmUp(string $cacheDir, ?string $buildDir = null): array method getFallbackLocales (line 77) | public function getFallbackLocales(): array method getGlobalParameters (line 86) | public function getGlobalParameters(): array method __call (line 95) | public function __call(string $method, array $args): mixed method getCollectedMessages (line 100) | public function getCollectedMessages(): array method collectMessage (line 105) | private function collectMessage(?string $locale, ?string $domain, stri... FILE: DependencyInjection/DataCollectorTranslatorPass.php class DataCollectorTranslatorPass (line 21) | class DataCollectorTranslatorPass implements CompilerPassInterface method process (line 23) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/LoggingTranslatorPass.php class LoggingTranslatorPass (line 23) | class LoggingTranslatorPass implements CompilerPassInterface method process (line 25) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/TranslationDumperPass.php class TranslationDumperPass (line 21) | class TranslationDumperPass implements CompilerPassInterface method process (line 23) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/TranslationExtractorPass.php class TranslationExtractorPass (line 21) | class TranslationExtractorPass implements CompilerPassInterface method process (line 23) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/TranslatorPass.php class TranslatorPass (line 19) | class TranslatorPass implements CompilerPassInterface method process (line 21) | public function process(ContainerBuilder $container): void FILE: DependencyInjection/TranslatorPathsPass.php class TranslatorPathsPass (line 24) | class TranslatorPathsPass extends AbstractRecursivePass method process (line 45) | public function process(ContainerBuilder $container): void method processValue (line 88) | protected function processValue(mixed $value, bool $isRoot = false): m... method findControllerArguments (line 124) | private function findControllerArguments(ContainerBuilder $container):... FILE: Dumper/CsvFileDumper.php class CsvFileDumper (line 21) | class CsvFileDumper extends FileDumper method formatCatalogue (line 26) | public function formatCatalogue(MessageCatalogue $messages, string $do... method setCsvControl (line 44) | public function setCsvControl(string $delimiter = ';', string $enclosu... method getExtension (line 50) | protected function getExtension(): string FILE: Dumper/DumperInterface.php type DumperInterface (line 22) | interface DumperInterface method dump (line 29) | public function dump(MessageCatalogue $messages, array $options = []):... FILE: Dumper/FileDumper.php class FileDumper (line 26) | abstract class FileDumper implements DumperInterface method setRelativePathTemplate (line 36) | public function setRelativePathTemplate(string $relativePathTemplate):... method dump (line 41) | public function dump(MessageCatalogue $messages, array $options = []):... method formatCatalogue (line 83) | abstract public function formatCatalogue(MessageCatalogue $messages, s... method getExtension (line 88) | abstract protected function getExtension(): string; method getRelativePath (line 93) | private function getRelativePath(string $domain, string $locale): string FILE: Dumper/IcuResFileDumper.php class IcuResFileDumper (line 21) | class IcuResFileDumper extends FileDumper method formatCatalogue (line 25) | public function formatCatalogue(MessageCatalogue $messages, string $do... method writePadding (line 79) | private function writePadding(string $data): ?string method getPosition (line 86) | private function getPosition(string $data): float|int method getExtension (line 91) | protected function getExtension(): string FILE: Dumper/IniFileDumper.php class IniFileDumper (line 21) | class IniFileDumper extends FileDumper method formatCatalogue (line 23) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 35) | protected function getExtension(): string FILE: Dumper/JsonFileDumper.php class JsonFileDumper (line 21) | class JsonFileDumper extends FileDumper method formatCatalogue (line 23) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 30) | protected function getExtension(): string FILE: Dumper/MoFileDumper.php class MoFileDumper (line 22) | class MoFileDumper extends FileDumper method formatCatalogue (line 24) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 64) | protected function getExtension(): string method writeLong (line 69) | private function writeLong(mixed $str): string FILE: Dumper/PhpFileDumper.php class PhpFileDumper (line 21) | class PhpFileDumper extends FileDumper method formatCatalogue (line 23) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 28) | protected function getExtension(): string FILE: Dumper/PoFileDumper.php class PoFileDumper (line 21) | class PoFileDumper extends FileDumper method formatCatalogue (line 23) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getStandardRules (line 68) | private function getStandardRules(string $id): array method getExtension (line 111) | protected function getExtension(): string method escape (line 116) | private function escape(string $str): string method formatComments (line 121) | private function formatComments(string|array $comments, string $prefix... FILE: Dumper/QtFileDumper.php class QtFileDumper (line 21) | class QtFileDumper extends FileDumper method formatCatalogue (line 23) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 51) | protected function getExtension(): string FILE: Dumper/XliffFileDumper.php class XliffFileDumper (line 22) | class XliffFileDumper extends FileDumper method __construct (line 24) | public function __construct( method formatCatalogue (line 29) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 52) | protected function getExtension(): string method dumpXliff1 (line 57) | private function dumpXliff1(string $defaultLocale, MessageCatalogue $m... method dumpXliff2 (line 140) | private function dumpXliff2(string $defaultLocale, MessageCatalogue $m... method hasMetadataArrayInfo (line 223) | private function hasMetadataArrayInfo(string $key, ?array $metadata = ... FILE: Dumper/YamlFileDumper.php class YamlFileDumper (line 24) | class YamlFileDumper extends FileDumper method __construct (line 26) | public function __construct( method formatCatalogue (line 31) | public function formatCatalogue(MessageCatalogue $messages, string $do... method getExtension (line 50) | protected function getExtension(): string FILE: Exception/ExceptionInterface.php type ExceptionInterface (line 19) | interface ExceptionInterface extends \Throwable FILE: Exception/IncompleteDsnException.php class IncompleteDsnException (line 14) | class IncompleteDsnException extends InvalidArgumentException method __construct (line 16) | public function __construct(string $message, ?string $dsn = null, ?\Th... FILE: Exception/InvalidArgumentException.php class InvalidArgumentException (line 19) | class InvalidArgumentException extends \InvalidArgumentException impleme... FILE: Exception/InvalidResourceException.php class InvalidResourceException (line 19) | class InvalidResourceException extends \InvalidArgumentException impleme... FILE: Exception/LogicException.php class LogicException (line 19) | class LogicException extends \LogicException implements ExceptionInterface FILE: Exception/MissingRequiredOptionException.php class MissingRequiredOptionException (line 17) | class MissingRequiredOptionException extends IncompleteDsnException method __construct (line 19) | public function __construct(string $option, ?string $dsn = null, ?\Thr... FILE: Exception/NotFoundResourceException.php class NotFoundResourceException (line 19) | class NotFoundResourceException extends \InvalidArgumentException implem... FILE: Exception/ProviderException.php class ProviderException (line 19) | class ProviderException extends RuntimeException implements ProviderExce... method __construct (line 23) | public function __construct( method getResponse (line 34) | public function getResponse(): ResponseInterface method getDebug (line 39) | public function getDebug(): string FILE: Exception/ProviderExceptionInterface.php type ProviderExceptionInterface (line 17) | interface ProviderExceptionInterface extends ExceptionInterface method getDebug (line 22) | public function getDebug(): string; FILE: Exception/RuntimeException.php class RuntimeException (line 19) | class RuntimeException extends \RuntimeException implements ExceptionInt... FILE: Exception/UnsupportedSchemeException.php class UnsupportedSchemeException (line 17) | class UnsupportedSchemeException extends LogicException method __construct (line 38) | public function __construct(Dsn $dsn, ?string $name = null, array $sup... FILE: Extractor/AbstractFileExtractor.php class AbstractFileExtractor (line 21) | abstract class AbstractFileExtractor method extractFiles (line 23) | protected function extractFiles(string|iterable $resource): iterable method toSplFileInfo (line 41) | private function toSplFileInfo(string $file): \SplFileInfo method isFile (line 49) | protected function isFile(string $file): bool method canBeExtracted (line 58) | abstract protected function canBeExtracted(string $file): bool; method extractFromDirectory (line 60) | abstract protected function extractFromDirectory(string|array $resourc... FILE: Extractor/ChainExtractor.php class ChainExtractor (line 21) | class ChainExtractor implements ExtractorInterface method addExtractor (line 33) | public function addExtractor(string $format, ExtractorInterface $extra... method setPrefix (line 38) | public function setPrefix(string $prefix): void method extract (line 45) | public function extract(string|iterable $directory, MessageCatalogue $... FILE: Extractor/ExtractorInterface.php type ExtractorInterface (line 22) | interface ExtractorInterface method extract (line 29) | public function extract(string|iterable $resource, MessageCatalogue $c... method setPrefix (line 34) | public function setPrefix(string $prefix): void; FILE: Extractor/PhpAstExtractor.php class PhpAstExtractor (line 27) | final class PhpAstExtractor extends AbstractFileExtractor implements Ext... method __construct (line 31) | public function __construct( method extract (line 45) | public function extract(iterable|string $resource, MessageCatalogue $c... method setPrefix (line 64) | public function setPrefix(string $prefix): void method canBeExtracted (line 69) | protected function canBeExtracted(string $file): bool method extractFromDirectory (line 76) | protected function extractFromDirectory(array|string $resource): itera... FILE: Extractor/Visitor/AbstractVisitor.php class AbstractVisitor (line 20) | abstract class AbstractVisitor method initialize (line 26) | public function initialize(MessageCatalogue $catalogue, \SplFileInfo $... method addMessageToCatalogue (line 33) | protected function addMessageToCatalogue(string $message, ?string $dom... method getStringArguments (line 43) | protected function getStringArguments(Node\Expr\CallLike|Node\Attribut... method hasNodeNamedArguments (line 58) | protected function hasNodeNamedArguments(Node\Expr\CallLike|Node\Attri... method nodeFirstNamedArgumentIndex (line 71) | protected function nodeFirstNamedArgumentIndex(Node\Expr\CallLike|Node... method getStringNamedArguments (line 84) | private function getStringNamedArguments(Node\Expr\CallLike|Node\Attri... method getStringValue (line 100) | private function getStringValue(Node $node): ?string FILE: Extractor/Visitor/ConstraintVisitor.php class ConstraintVisitor (line 22) | final class ConstraintVisitor extends AbstractVisitor implements NodeVis... method __construct (line 24) | public function __construct( method beforeTraverse (line 29) | public function beforeTraverse(array $nodes): ?Node method enterNode (line 34) | public function enterNode(Node $node): ?Node method leaveNode (line 39) | public function leaveNode(Node $node): ?Node method afterTraverse (line 107) | public function afterTraverse(array $nodes): ?Node FILE: Extractor/Visitor/TransMethodVisitor.php class TransMethodVisitor (line 20) | final class TransMethodVisitor extends AbstractVisitor implements NodeVi... method beforeTraverse (line 22) | public function beforeTraverse(array $nodes): ?Node method enterNode (line 27) | public function enterNode(Node $node): ?Node method leaveNode (line 32) | public function leaveNode(Node $node): ?Node method afterTraverse (line 61) | public function afterTraverse(array $nodes): ?Node FILE: Extractor/Visitor/TranslatableMessageVisitor.php class TranslatableMessageVisitor (line 20) | final class TranslatableMessageVisitor extends AbstractVisitor implement... method beforeTraverse (line 22) | public function beforeTraverse(array $nodes): ?Node method enterNode (line 27) | public function enterNode(Node $node): ?Node method leaveNode (line 32) | public function leaveNode(Node $node): ?Node method afterTraverse (line 61) | public function afterTraverse(array $nodes): ?Node FILE: Formatter/IntlFormatter.php class IntlFormatter (line 21) | class IntlFormatter implements IntlFormatterInterface method formatIntl (line 26) | public function formatIntl(string $message, string $locale, array $par... FILE: Formatter/IntlFormatterInterface.php type IntlFormatterInterface (line 19) | interface IntlFormatterInterface method formatIntl (line 26) | public function formatIntl(string $message, string $locale, array $par... FILE: Formatter/MessageFormatter.php class MessageFormatter (line 23) | class MessageFormatter implements MessageFormatterInterface, IntlFormatt... method __construct (line 31) | public function __construct(?TranslatorInterface $translator = null, ?... method format (line 37) | public function format(string $message, string $locale, array $paramet... method formatIntl (line 42) | public function formatIntl(string $message, string $locale, array $par... FILE: Formatter/MessageFormatterInterface.php type MessageFormatterInterface (line 18) | interface MessageFormatterInterface method format (line 27) | public function format(string $message, string $locale, array $paramet... FILE: IdentityTranslator.php class IdentityTranslator (line 23) | class IdentityTranslator implements TranslatorInterface, LocaleAwareInte... method setLocale (line 27) | public function setLocale(string $locale): void FILE: Loader/ArrayLoader.php class ArrayLoader (line 21) | class ArrayLoader implements LoaderInterface method load (line 23) | public function load(mixed $resource, string $locale, string $domain =... method flatten (line 40) | private function flatten(array $messages): array FILE: Loader/CsvFileLoader.php class CsvFileLoader (line 21) | class CsvFileLoader extends FileLoader method loadResource (line 26) | protected function loadResource(string $resource): array method setCsvControl (line 55) | public function setCsvControl(string $delimiter = ';', string $enclosu... FILE: Loader/FileLoader.php class FileLoader (line 22) | abstract class FileLoader extends ArrayLoader method load (line 24) | public function load(mixed $resource, string $locale, string $domain =... method loadResource (line 56) | abstract protected function loadResource(string $resource): array; FILE: Loader/IcuDatFileLoader.php class IcuDatFileLoader (line 24) | class IcuDatFileLoader extends IcuResFileLoader method load (line 26) | public function load(mixed $resource, string $locale, string $domain =... FILE: Loader/IcuResFileLoader.php class IcuResFileLoader (line 24) | class IcuResFileLoader implements LoaderInterface method load (line 26) | public function load(mixed $resource, string $locale, string $domain =... method flatten (line 73) | protected function flatten(\ResourceBundle $rb, array &$messages = [],... FILE: Loader/IniFileLoader.php class IniFileLoader (line 19) | class IniFileLoader extends FileLoader method loadResource (line 21) | protected function loadResource(string $resource): array FILE: Loader/JsonFileLoader.php class JsonFileLoader (line 21) | class JsonFileLoader extends FileLoader method loadResource (line 23) | protected function loadResource(string $resource): array method getJSONErrorMessage (line 40) | private function getJSONErrorMessage(int $errorCode): string FILE: Loader/LoaderInterface.php type LoaderInterface (line 23) | interface LoaderInterface method load (line 31) | public function load(mixed $resource, string $locale, string $domain =... FILE: Loader/MoFileLoader.php class MoFileLoader (line 19) | class MoFileLoader extends FileLoader method loadResource (line 42) | protected function loadResource(string $resource): array method readLong (line 131) | private function readLong($stream, bool $isBigEndian): int FILE: Loader/PhpFileLoader.php class PhpFileLoader (line 19) | class PhpFileLoader extends FileLoader method loadResource (line 23) | protected function loadResource(string $resource): array FILE: Loader/PoFileLoader.php class PoFileLoader (line 18) | class PoFileLoader extends FileLoader method loadResource (line 61) | protected function loadResource(string $resource): array method addMessage (line 125) | private function addMessage(array &$messages, array $item): void FILE: Loader/QtFileLoader.php class QtFileLoader (line 26) | class QtFileLoader implements LoaderInterface method load (line 28) | public function load(mixed $resource, string $locale, string $domain =... FILE: Loader/XliffFileLoader.php class XliffFileLoader (line 30) | class XliffFileLoader implements LoaderInterface method load (line 32) | public function load(mixed $resource, string $locale, string $domain =... method extract (line 76) | private function extract(\DOMDocument $dom, MessageCatalogue $catalogu... method extractXliff1 (line 92) | private function extractXliff1(\DOMDocument $dom, MessageCatalogue $ca... method extractXliff2 (line 157) | private function extractXliff2(\DOMDocument $dom, MessageCatalogue $ca... method extractXliff2PgsUnit (line 212) | private function extractXliff2PgsUnit(\SimpleXMLElement $unit, Message... method parsePgsSwitch (line 244) | private function parsePgsSwitch(string $pgsSwitch): array method extractPgsSegmentText (line 254) | private function extractPgsSegmentText(\SimpleXMLElement $element, arr... method buildIcuMessage (line 279) | private function buildIcuMessage(array $switches, array $cases): string method getIcuType (line 311) | private function getIcuType(string $pgsType): string method formatIcuCase (line 320) | private function formatIcuCase(int|string $caseValue, string $switchTy... method utf8ToCharset (line 328) | private function utf8ToCharset(string $content, ?string $encoding = nu... method parseNotesMetadata (line 337) | private function parseNotesMetadata(?\SimpleXMLElement $noteElement = ... method isXmlString (line 363) | private function isXmlString(string $resource): bool FILE: Loader/YamlFileLoader.php class YamlFileLoader (line 25) | class YamlFileLoader extends FileLoader method loadResource (line 29) | protected function loadResource(string $resource): array FILE: LocaleFallbackProvider.php class LocaleFallbackProvider (line 24) | final class LocaleFallbackProvider method __construct (line 31) | public function __construct( method computeFallbackLocales (line 42) | public function computeFallbackLocales(string $locale): array method validateLocale (line 89) | public static function validateLocale(string $locale): void FILE: LocaleSwitcher.php class LocaleSwitcher (line 20) | class LocaleSwitcher implements LocaleAwareInterface method __construct (line 27) | public function __construct( method setLocale (line 35) | public function setLocale(string $locale): void method getLocale (line 53) | public function getLocale(): string method runWithLocale (line 67) | public function runWithLocale(string $locale, callable $callback): mixed method reset (line 79) | public function reset(): void FILE: LoggingTranslator.php class LoggingTranslator (line 21) | class LoggingTranslator implements TranslatorInterface, TranslatorBagInt... method __construct (line 23) | public function __construct( method trans (line 29) | public function trans(?string $id, array $parameters = [], ?string $do... method setLocale (line 37) | public function setLocale(string $locale): void method getLocale (line 48) | public function getLocale(): string method getCatalogue (line 53) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 58) | public function getCatalogues(): array method getFallbackLocales (line 63) | public function getFallbackLocales(): array method __call (line 72) | public function __call(string $method, array $args): mixed method log (line 80) | private function log(string $id, ?string $domain, ?string $locale): void FILE: MessageCatalogue.php class MessageCatalogue (line 20) | class MessageCatalogue implements MessageCatalogueInterface, MetadataAwa... method __construct (line 31) | public function __construct( method getLocale (line 37) | public function getLocale(): string method getDomains (line 42) | public function getDomains(): array method all (line 56) | public function all(?string $domain = null): array method set (line 81) | public function set(string $id, string $translation, string $domain = ... method has (line 86) | public function has(string $id, string $domain = 'messages'): bool method defines (line 99) | public function defines(string $id, string $domain = 'messages'): bool method get (line 104) | public function get(string $id, string $domain = 'messages'): string method replace (line 121) | public function replace(array $messages, string $domain = 'messages'):... method add (line 128) | public function add(array $messages, string $domain = 'messages'): void method addCatalogue (line 141) | public function addCatalogue(MessageCatalogueInterface $catalogue): void method addFallbackCatalogue (line 170) | public function addFallbackCatalogue(MessageCatalogueInterface $catalo... method getFallbackCatalogue (line 199) | public function getFallbackCatalogue(): ?MessageCatalogueInterface method getResources (line 204) | public function getResources(): array method addResource (line 209) | public function addResource(ResourceInterface $resource): void method getMetadata (line 214) | public function getMetadata(string $key = '', string $domain = 'messag... method setMetadata (line 243) | public function setMetadata(string $key, mixed $value, string $domain ... method deleteMetadata (line 248) | public function deleteMetadata(string $key = '', string $domain = 'mes... method getCatalogueMetadata (line 259) | public function getCatalogueMetadata(string $key = '', string $domain ... method setCatalogueMetadata (line 278) | public function setCatalogueMetadata(string $key, mixed $value, string... method deleteCatalogueMetadata (line 283) | public function deleteCatalogueMetadata(string $key = '', string $doma... method addMetadata (line 299) | private function addMetadata(array $values): void method addCatalogueMetadata (line 308) | private function addCatalogueMetadata(array $values): void FILE: MessageCatalogueInterface.php type MessageCatalogueInterface (line 21) | interface MessageCatalogueInterface method getLocale (line 28) | public function getLocale(): string; method getDomains (line 33) | public function getDomains(): array; method all (line 40) | public function all(?string $domain = null): array; method set (line 49) | public function set(string $id, string $translation, string $domain = ... method has (line 57) | public function has(string $id, string $domain = 'messages'): bool; method defines (line 65) | public function defines(string $id, string $domain = 'messages'): bool; method get (line 73) | public function get(string $id, string $domain = 'messages'): string; method replace (line 81) | public function replace(array $messages, string $domain = 'messages'):... method add (line 89) | public function add(array $messages, string $domain = 'messages'): void; method addCatalogue (line 96) | public function addCatalogue(self $catalogue): void; method addFallbackCatalogue (line 104) | public function addFallbackCatalogue(self $catalogue): void; method getFallbackCatalogue (line 109) | public function getFallbackCatalogue(): ?self; method getResources (line 116) | public function getResources(): array; method addResource (line 121) | public function addResource(ResourceInterface $resource): void; FILE: MetadataAwareInterface.php type MetadataAwareInterface (line 19) | interface MetadataAwareInterface method getMetadata (line 30) | public function getMetadata(string $key = '', string $domain = 'messag... method setMetadata (line 35) | public function setMetadata(string $key, mixed $value, string $domain ... method deleteMetadata (line 43) | public function deleteMetadata(string $key = '', string $domain = 'mes... FILE: Provider/AbstractProviderFactory.php class AbstractProviderFactory (line 16) | abstract class AbstractProviderFactory implements ProviderFactoryInterface method supports (line 18) | public function supports(Dsn $dsn): bool method getSupportedSchemes (line 26) | abstract protected function getSupportedSchemes(): array; method getUser (line 28) | protected function getUser(Dsn $dsn): string method getPassword (line 33) | protected function getPassword(Dsn $dsn): string FILE: Provider/Dsn.php class Dsn (line 21) | final class Dsn method __construct (line 32) | public function __construct(#[\SensitiveParameter] string $dsn) method getScheme (line 57) | public function getScheme(): string method getHost (line 62) | public function getHost(): string method getUser (line 67) | public function getUser(): ?string method getPassword (line 72) | public function getPassword(): ?string method getPort (line 77) | public function getPort(?int $default = null): ?int method getOption (line 82) | public function getOption(string $key, mixed $default = null): mixed method getRequiredOption (line 87) | public function getRequiredOption(string $key): mixed method getOptions (line 96) | public function getOptions(): array method getPath (line 101) | public function getPath(): ?string method getOriginalDsn (line 106) | public function getOriginalDsn(): string FILE: Provider/FilteringProvider.php class FilteringProvider (line 22) | class FilteringProvider implements ProviderInterface method __construct (line 24) | public function __construct( method __toString (line 32) | public function __toString(): string method write (line 37) | public function write(TranslatorBagInterface $translatorBag): void method read (line 42) | public function read(array $domains, array $locales): TranslatorBag method delete (line 50) | public function delete(TranslatorBagInterface $translatorBag): void method getDomains (line 55) | public function getDomains(): array FILE: Provider/NullProvider.php class NullProvider (line 20) | class NullProvider implements ProviderInterface method __toString (line 22) | public function __toString(): string method write (line 27) | public function write(TranslatorBagInterface $translatorBag, bool $ove... method read (line 31) | public function read(array $domains, array $locales): TranslatorBag method delete (line 36) | public function delete(TranslatorBagInterface $translatorBag): void FILE: Provider/NullProviderFactory.php class NullProviderFactory (line 19) | final class NullProviderFactory extends AbstractProviderFactory method create (line 21) | public function create(Dsn $dsn): ProviderInterface method getSupportedSchemes (line 30) | protected function getSupportedSchemes(): array FILE: Provider/ProviderFactoryInterface.php type ProviderFactoryInterface (line 17) | interface ProviderFactoryInterface method create (line 23) | public function create(Dsn $dsn): ProviderInterface; method supports (line 25) | public function supports(Dsn $dsn): bool; FILE: Provider/ProviderInterface.php type ProviderInterface (line 17) | interface ProviderInterface extends \Stringable method write (line 25) | public function write(TranslatorBagInterface $translatorBag): void; method read (line 27) | public function read(array $domains, array $locales): TranslatorBag; method delete (line 29) | public function delete(TranslatorBagInterface $translatorBag): void; FILE: Provider/TranslationProviderCollection.php class TranslationProviderCollection (line 19) | final class TranslationProviderCollection method __construct (line 29) | public function __construct(iterable $providers) method __toString (line 34) | public function __toString(): string method has (line 39) | public function has(string $name): bool method get (line 44) | public function get(string $name): ProviderInterface method keys (line 53) | public function keys(): array FILE: Provider/TranslationProviderCollectionFactory.php class TranslationProviderCollectionFactory (line 19) | class TranslationProviderCollectionFactory method __construct (line 24) | public function __construct( method fromConfig (line 30) | public function fromConfig(array $config): TranslationProviderCollection method fromDsnObject (line 44) | public function fromDsnObject(Dsn $dsn, array $locales, array $domains... FILE: PseudoLocalizationTranslator.php class PseudoLocalizationTranslator (line 20) | final class PseudoLocalizationTranslator implements TranslatorInterface,... method __construct (line 67) | public function __construct( method trans (line 88) | public function trans(string $id, array $parameters = [], ?string $dom... method getLocale (line 114) | public function getLocale(): string method getCatalogue (line 119) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 128) | public function getCatalogues(): array method getParts (line 137) | private function getParts(string $originalTrans): array method parseNode (line 156) | private function parseNode(\DOMNode $node): array method addAccents (line 194) | private function addAccents(string &$trans, string $text): void method expand (line 295) | private function expand(string &$trans, string $visibleText): void method addBrackets (line 371) | private function addBrackets(string &$trans): void method strlen (line 380) | private function strlen(string $s): int FILE: Reader/TranslationReader.php class TranslationReader (line 23) | class TranslationReader implements TranslationReaderInterface method addLoader (line 37) | public function addLoader(string $format, LoaderInterface $loader): void method read (line 42) | public function read(string $directory, MessageCatalogue $catalogue): ... FILE: Reader/TranslationReaderInterface.php type TranslationReaderInterface (line 21) | interface TranslationReaderInterface method read (line 26) | public function read(string $directory, MessageCatalogue $catalogue): ... FILE: Resources/bin/translation-status.php function findTranslationFiles (line 98) | function findTranslationFiles($originalFilePath, $localeToAnalyze): array function calculateTranslationStatus (line 121) | function calculateTranslationStatus($originalFilePath, $translationFileP... function isTranslationCompleted (line 143) | function isTranslationCompleted(array $translationStatus): bool function printTranslationStatus (line 148) | function printTranslationStatus($originalFilePath, $translationStatus, $... function extractLocaleFromFilePath (line 155) | function extractLocaleFromFilePath($filePath) function extractTranslationKeys (line 162) | function extractTranslationKeys($filePath): array function findTransUnitMismatches (line 180) | function findTransUnitMismatches(array $baseTranslationKeys, array $tran... function printTitle (line 199) | function printTitle($title): void function printTable (line 205) | function printTable($translations, $verboseOutput, bool $includeComplete... function textColorGreen (line 261) | function textColorGreen(): void function textColorRed (line 266) | function textColorRed(): void function textColorNormal (line 271) | function textColorNormal(): void FILE: Resources/functions.php function t (line 18) | function t(string $message, array $parameters = [], ?string $domain = nu... FILE: StaticMessage.php class StaticMessage (line 17) | final class StaticMessage implements TranslatableInterface method __construct (line 19) | public function __construct( method getMessage (line 24) | public function getMessage(): string method trans (line 29) | public function trans(TranslatorInterface $translator, ?string $locale... FILE: Test/AbstractProviderFactoryTestCase.php class AbstractProviderFactoryTestCase (line 20) | abstract class AbstractProviderFactoryTestCase extends TestCase method createFactory (line 22) | abstract public function createFactory(): ProviderFactoryInterface; method supportsProvider (line 27) | abstract public static function supportsProvider(): iterable; method createProvider (line 32) | abstract public static function createProvider(): iterable; method unsupportedSchemeProvider (line 37) | abstract public static function unsupportedSchemeProvider(): iterable; method testSupports (line 42) | #[DataProvider('supportsProvider')] method testCreate (line 53) | #[DataProvider('createProvider')] method testUnsupportedSchemeException (line 65) | #[DataProvider('unsupportedSchemeProvider')] FILE: Test/IncompleteDsnTestTrait.php type IncompleteDsnTestTrait (line 18) | trait IncompleteDsnTestTrait method incompleteDsnProvider (line 23) | abstract public static function incompleteDsnProvider(): iterable; method testIncompleteDsnException (line 28) | #[DataProvider('incompleteDsnProvider')] FILE: Test/ProviderTestCase.php class ProviderTestCase (line 33) | abstract class ProviderTestCase extends TestCase method createProvider (line 42) | abstract public static function createProvider(HttpClientInterface $cl... method toStringProvider (line 47) | abstract public static function toStringProvider(): iterable; method testToString (line 52) | #[DataProvider('toStringProvider')] method getClient (line 58) | protected function getClient(): MockHttpClient method getLoader (line 63) | protected function getLoader(): LoaderInterface method getLogger (line 68) | protected function getLogger(): LoggerInterface method getDefaultLocale (line 73) | protected function getDefaultLocale(): string method getXliffFileDumper (line 78) | protected function getXliffFileDumper(): XliffFileDumper method getTranslatorBag (line 83) | protected function getTranslatorBag(): TranslatorBagInterface FILE: Tests/Catalogue/AbstractOperationTestCase.php class AbstractOperationTestCase (line 19) | abstract class AbstractOperationTestCase extends TestCase method testGetEmptyDomains (line 21) | public function testGetEmptyDomains() method testGetMergedDomains (line 32) | public function testGetMergedDomains() method testGetMessagesFromUnknownDomain (line 43) | public function testGetMessagesFromUnknownDomain() method testGetEmptyMessages (line 52) | public function testGetEmptyMessages() method testGetEmptyResult (line 63) | public function testGetEmptyResult() method testSourceAndTargetWithDifferentLocales (line 74) | public function testSourceAndTargetWithDifferentLocales() method createOperation (line 84) | abstract protected function createOperation(MessageCatalogueInterface ... FILE: Tests/Catalogue/MergeOperationTest.php class MergeOperationTest (line 18) | class MergeOperationTest extends AbstractOperationTestCase method testGetMessagesFromSingleDomain (line 20) | public function testGetMessagesFromSingleDomain() method testGetResultFromSingleDomain (line 43) | public function testGetResultFromSingleDomain() method testGetResultFromIntlDomain (line 56) | public function testGetResultFromIntlDomain() method testGetResultWithMetadata (line 70) | public function testGetResultWithMetadata() method testGetResultWithMetadataFromIntlDomain (line 93) | public function testGetResultWithMetadataFromIntlDomain() method createOperation (line 116) | protected function createOperation(MessageCatalogueInterface $source, ... FILE: Tests/Catalogue/MessageCatalogueTest.php class MessageCatalogueTest (line 17) | class MessageCatalogueTest extends TestCase method testIcuMetadataKept (line 19) | public function testIcuMetadataKept() FILE: Tests/Catalogue/TargetOperationTest.php class TargetOperationTest (line 18) | class TargetOperationTest extends AbstractOperationTestCase method testGetMessagesFromSingleDomain (line 20) | public function testGetMessagesFromSingleDomain() method testGetResultFromSingleDomain (line 43) | public function testGetResultFromSingleDomain() method testGetResultFromIntlDomain (line 56) | public function testGetResultFromIntlDomain() method testGetResultWithMixedDomains (line 70) | public function testGetResultWithMixedDomains() method testGetResultWithMetadata (line 114) | public function testGetResultWithMetadata() method testGetResultWithMetadataFromIntlDomain (line 136) | public function testGetResultWithMetadataFromIntlDomain() method createOperation (line 158) | protected function createOperation(MessageCatalogueInterface $source, ... FILE: Tests/Command/TranslationLintCommandTest.php class TranslationLintCommandTest (line 23) | final class TranslationLintCommandTest extends TestCase method testLintCorrectTranslations (line 25) | #[RequiresPhpExtension('intl')] method testLintMalformedIcuTranslations (line 64) | #[RequiresPhpExtension('intl')] method createCommand (line 159) | private function createCommand(Translator $translator, array $enabledL... method getNormalizedDisplay (line 172) | private function getNormalizedDisplay(CommandTester $commandTester): s... FILE: Tests/Command/TranslationProviderTestCase.php class TranslationProviderTestCase (line 23) | abstract class TranslationProviderTestCase extends TestCase method setUp (line 30) | protected function setUp(): void method tearDown (line 40) | protected function tearDown(): void method getProviderCollection (line 46) | protected function getProviderCollection(ProviderInterface $provider, ... method createYamlFile (line 57) | protected function createYamlFile(array $messages = ['node' => 'NOTE']... method createFile (line 73) | protected function createFile(array $messages = ['note' => 'NOTE'], $t... FILE: Tests/Command/TranslationPullCommandTest.php class TranslationPullCommandTest (line 33) | class TranslationPullCommandTest extends TranslationProviderTestCase method setUp (line 37) | protected function setUp(): void method tearDown (line 44) | protected function tearDown(): void method testPullNewXlf12Messages (line 50) | public function testPullNewXlf12Messages() method testPullNewXlf20Messages (line 172) | public function testPullNewXlf20Messages() method testPullNewYamlMessagesAsInlined (line 248) | public function testPullNewYamlMessagesAsInlined() method testPullNewYamlMessagesAsTree (line 296) | public function testPullNewYamlMessagesAsTree() method testPullForceMessages (line 346) | public function testPullForceMessages() method testPullForceIntlIcuMessages (line 479) | #[RequiresPhpExtension('intl')] method testPullMessagesWithDefaultLocale (line 559) | public function testPullMessagesWithDefaultLocale() method testPullMessagesMultipleDomains (line 637) | public function testPullMessagesMultipleDomains() method testComplete (line 716) | #[DataProvider('provideCompletionSuggestions')] method provideCompletionSuggestions (line 727) | public static function provideCompletionSuggestions(): \Generator method createCommandTester (line 745) | private function createCommandTester(ProviderInterface $provider, arra... method createCommand (line 754) | private function createCommand(ProviderInterface $provider, array $loc... FILE: Tests/Command/TranslationPushCommandTest.php class TranslationPushCommandTest (line 30) | class TranslationPushCommandTest extends TranslationProviderTestCase method setUp (line 34) | protected function setUp(): void method tearDown (line 41) | protected function tearDown(): void method testPushNewMessages (line 47) | public function testPushNewMessages() method testPushNewIntlIcuMessages (line 93) | public function testPushNewIntlIcuMessages() method testPushForceMessages (line 139) | public function testPushForceMessages() method testDeleteMissingMessages (line 184) | public function testDeleteMissingMessages() method testPushForceAndDeleteMissingMessages (line 248) | public function testPushForceAndDeleteMissingMessages() method testPushWithProviderDomains (line 315) | public function testPushWithProviderDomains() method testComplete (line 377) | #[DataProvider('provideCompletionSuggestions')] method provideCompletionSuggestions (line 388) | public static function provideCompletionSuggestions(): \Generator method createCommandTester (line 406) | private function createCommandTester(ProviderInterface $provider, arra... method createCommand (line 415) | private function createCommand(ProviderInterface $provider, array $loc... FILE: Tests/Command/XliffLintCommandTest.php class XliffLintCommandTest (line 28) | class XliffLintCommandTest extends TestCase method testLintCorrectFile (line 32) | public function testLintCorrectFile() method testLintCorrectFiles (line 46) | public function testLintCorrectFiles() method testStrictFilenames (line 61) | #[DataProvider('provideStrictFilenames')] method testLintIncorrectXmlSyntax (line 76) | public function testLintIncorrectXmlSyntax() method testLintIncorrectTargetLanguage (line 87) | public function testLintIncorrectTargetLanguage() method testLintTargetLanguageIsCaseInsensitive (line 98) | public function testLintTargetLanguageIsCaseInsensitive() method testLintSucceedsWhenLocaleInFileAndInTargetLanguageNameUsesDashesInsteadOfUnderscores (line 109) | public function testLintSucceedsWhenLocaleInFileAndInTargetLanguageNam... method testLintFileNotReadable (line 120) | public function testLintFileNotReadable() method testGetHelp (line 131) | public function testGetHelp() method testLintIncorrectFileWithGithubFormat (line 147) | public function testLintIncorrectFileWithGithubFormat() method testLintAutodetectsGithubActionEnvironment (line 156) | public function testLintAutodetectsGithubActionEnvironment() method testPassingClosureAndCallableToConstructor (line 174) | public function testPassingClosureAndCallableToConstructor() method createFile (line 184) | private function createFile($sourceContent = 'note', $targetLanguage =... method createCommand (line 208) | private function createCommand($requireStrictFileNames = true, $applic... method createCommandTester (line 222) | private function createCommandTester($requireStrictFileNames = true, $... method setUp (line 227) | protected function setUp(): void method tearDown (line 233) | protected function tearDown(): void method provideStrictFilenames (line 243) | public static function provideStrictFilenames() method testComplete (line 255) | #[DataProvider('provideCompletionSuggestions')] method provideCompletionSuggestions (line 263) | public static function provideCompletionSuggestions() FILE: Tests/DataCollector/TranslationDataCollectorTest.php class TranslationDataCollectorTest (line 22) | class TranslationDataCollectorTest extends TestCase method testCollectEmptyMessages (line 24) | public function testCollectEmptyMessages() method testCollect (line 35) | public function testCollect() method testCollectAndReset (line 98) | public function testCollectAndReset() FILE: Tests/DataCollectorTranslatorTest.php class DataCollectorTranslatorTest (line 20) | class DataCollectorTranslatorTest extends TestCase method testCollectMessages (line 22) | public function testCollectMessages() method testGetGlobalParameters (line 88) | public function testGetGlobalParameters() method createCollector (line 100) | private function createCollector() FILE: Tests/DependencyInjection/DataCollectorTranslatorPassTest.php class DataCollectorTranslatorPassTest (line 24) | class DataCollectorTranslatorPassTest extends TestCase method setUp (line 29) | protected function setUp(): void method testProcessKeepsDataCollectorTranslatorIfItImplementsTranslatorBagInterface (line 47) | #[DataProvider('getImplementingTranslatorBagInterfaceTranslatorClassNa... method testProcessKeepsDataCollectorIfTranslatorImplementsTranslatorBagInterface (line 57) | #[DataProvider('getImplementingTranslatorBagInterfaceTranslatorClassNa... method getImplementingTranslatorBagInterfaceTranslatorClassNames (line 67) | public static function getImplementingTranslatorBagInterfaceTranslator... method testProcessRemovesDataCollectorTranslatorIfItDoesNotImplementTranslatorBagInterface (line 75) | #[DataProvider('getNotImplementingTranslatorBagInterfaceTranslatorClas... method testProcessRemovesDataCollectorIfTranslatorDoesNotImplementTranslatorBagInterface (line 85) | #[DataProvider('getNotImplementingTranslatorBagInterfaceTranslatorClas... method getNotImplementingTranslatorBagInterfaceTranslatorClassNames (line 95) | public static function getNotImplementingTranslatorBagInterfaceTransla... class TranslatorWithoutTranslatorBag (line 104) | class TranslatorWithoutTranslatorBag implements TranslatorInterface method trans (line 106) | public function trans(string $id, array $parameters = [], ?string $dom... method getLocale (line 110) | public function getLocale(): string FILE: Tests/DependencyInjection/Fixtures/ControllerArguments.php class ControllerArguments (line 16) | class ControllerArguments method __invoke (line 18) | public function __invoke(TranslatorInterface $translator) method index (line 22) | public function index(TranslatorInterface $translator) FILE: Tests/DependencyInjection/Fixtures/ServiceArguments.php class ServiceArguments (line 16) | class ServiceArguments method __construct (line 18) | public function __construct(TranslatorInterface $translator) FILE: Tests/DependencyInjection/Fixtures/ServiceMethodCalls.php class ServiceMethodCalls (line 16) | class ServiceMethodCalls method setTranslator (line 18) | public function setTranslator(TranslatorInterface $translator) FILE: Tests/DependencyInjection/Fixtures/ServiceProperties.php class ServiceProperties (line 14) | class ServiceProperties FILE: Tests/DependencyInjection/Fixtures/ServiceSubscriber.php class ServiceSubscriber (line 18) | class ServiceSubscriber implements ServiceSubscriberInterface method __construct (line 20) | public function __construct(ContainerInterface $container) method getSubscribedServices (line 24) | public static function getSubscribedServices(): array FILE: Tests/DependencyInjection/LoggingTranslatorPassTest.php class LoggingTranslatorPassTest (line 20) | class LoggingTranslatorPassTest extends TestCase method testProcess (line 22) | public function testProcess() method testThatCompilerPassIsIgnoredIfThereIsNotLoggerDefinition (line 49) | public function testThatCompilerPassIsIgnoredIfThereIsNotLoggerDefinit... method testThatCompilerPassIsIgnoredIfThereIsNotTranslatorDefinition (line 66) | public function testThatCompilerPassIsIgnoredIfThereIsNotTranslatorDef... FILE: Tests/DependencyInjection/TranslationDumperPassTest.php class TranslationDumperPassTest (line 19) | class TranslationDumperPassTest extends TestCase method testProcess (line 21) | public function testProcess() method testProcessNoDefinitionFound (line 34) | public function testProcessNoDefinitionFound() FILE: Tests/DependencyInjection/TranslationExtractorPassTest.php class TranslationExtractorPassTest (line 19) | class TranslationExtractorPassTest extends TestCase method testProcess (line 21) | public function testProcess() method testProcessNoDefinitionFound (line 34) | public function testProcessNoDefinitionFound() method testProcessMissingAlias (line 49) | public function testProcessMissingAlias() FILE: Tests/DependencyInjection/TranslationPathsPassTest.php class TranslationPathsPassTest (line 27) | class TranslationPathsPassTest extends TestCase method testProcess (line 29) | public function testProcess() FILE: Tests/DependencyInjection/TranslatorPassTest.php class TranslatorPassTest (line 26) | class TranslatorPassTest extends TestCase method testValidCollector (line 28) | public function testValidCollector() method testValidCommandsViewPathsArgument (line 63) | public function testValidCommandsViewPathsArgument() method testCommandsViewPathsArgumentsAreIgnoredWithOldServiceDefinitions (line 91) | public function testCommandsViewPathsArgumentsAreIgnoredWithOldService... method testValidPhpAstExtractorConstraintVisitorArguments (line 128) | public function testValidPhpAstExtractorConstraintVisitorArguments() FILE: Tests/Dumper/CsvFileDumperTest.php class CsvFileDumperTest (line 18) | class CsvFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/FileDumperTest.php class FileDumperTest (line 18) | class FileDumperTest extends TestCase method testDump (line 20) | public function testDump() method testDumpIntl (line 35) | public function testDumpIntl() method testDumpCreatesNestedDirectoriesAndFile (line 59) | public function testDumpCreatesNestedDirectoriesAndFile() class ConcreteFileDumper (line 79) | class ConcreteFileDumper extends FileDumper method formatCatalogue (line 81) | public function formatCatalogue(MessageCatalogue $messages, $domain, a... method getExtension (line 86) | protected function getExtension(): string FILE: Tests/Dumper/IcuResFileDumperTest.php class IcuResFileDumperTest (line 18) | class IcuResFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/IniFileDumperTest.php class IniFileDumperTest (line 18) | class IniFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/JsonFileDumperTest.php class JsonFileDumperTest (line 18) | class JsonFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() method testDumpWithCustomEncoding (line 30) | public function testDumpWithCustomEncoding() FILE: Tests/Dumper/MoFileDumperTest.php class MoFileDumperTest (line 18) | class MoFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/PhpFileDumperTest.php class PhpFileDumperTest (line 18) | class PhpFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/PoFileDumperTest.php class PoFileDumperTest (line 18) | class PoFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() method testDumpPlurals (line 49) | public function testDumpPlurals() FILE: Tests/Dumper/QtFileDumperTest.php class QtFileDumperTest (line 18) | class QtFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() FILE: Tests/Dumper/XliffFileDumperTest.php class XliffFileDumperTest (line 18) | class XliffFileDumperTest extends TestCase method testFormatCatalogue (line 20) | public function testFormatCatalogue() method testFormatCatalogueXliff2 (line 39) | public function testFormatCatalogueXliff2() method testFormatIcuCatalogueXliff2 (line 58) | public function testFormatIcuCatalogueXliff2() method testFormatCatalogueWithCustomToolInfo (line 73) | public function testFormatCatalogueWithCustomToolInfo() method testFormatCatalogueWithTargetAttributesMetadata (line 91) | public function testFormatCatalogueWithTargetAttributesMetadata() method testFormatCatalogueWithNotesMetadata (line 107) | public function testFormatCatalogueWithNotesMetadata() method testDumpCatalogueWithXliffExtension (line 132) | public function testDumpCatalogueWithXliffExtension() method testEmptyMetadataNotes (line 151) | public function testEmptyMetadataNotes() method testFormatCatalogueXliff2WithSegmentAttributes (line 169) | public function testFormatCatalogueXliff2WithSegmentAttributes() FILE: Tests/Dumper/YamlFileDumperTest.php class YamlFileDumperTest (line 18) | class YamlFileDumperTest extends TestCase method testTreeFormatCatalogue (line 20) | public function testTreeFormatCatalogue() method testLinearFormatCatalogue (line 33) | public function testLinearFormatCatalogue() FILE: Tests/Exception/ProviderExceptionTest.php class ProviderExceptionTest (line 18) | class ProviderExceptionTest extends TestCase method testExceptionWithDebugMessage (line 20) | public function testExceptionWithDebugMessage() method testExceptionWithNullAsDebugMessage (line 29) | public function testExceptionWithNullAsDebugMessage() FILE: Tests/Exception/UnsupportedSchemeExceptionTest.php class UnsupportedSchemeExceptionTest (line 25) | #[RunTestsInSeparateProcesses] method setUpBeforeClass (line 28) | public static function setUpBeforeClass(): void method testMessageWhereSchemeIsPartOfSchemeToPackageMap (line 39) | #[DataProvider('messageWhereSchemeIsPartOfSchemeToPackageMapProvider')] method messageWhereSchemeIsPartOfSchemeToPackageMapProvider (line 50) | public static function messageWhereSchemeIsPartOfSchemeToPackageMapPro... method testMessageWhereSchemeIsNotPartOfSchemeToPackageMap (line 58) | #[DataProvider('messageWhereSchemeIsNotPartOfSchemeToPackageMapProvide... method messageWhereSchemeIsNotPartOfSchemeToPackageMapProvider (line 67) | public static function messageWhereSchemeIsNotPartOfSchemeToPackageMap... FILE: Tests/Extractor/PhpAstExtractorTest.php class PhpAstExtractorTest (line 22) | final class PhpAstExtractorTest extends TestCase method testExtraction (line 26) | #[DataProvider('resourcesProvider')] method testExtractionFromIndentedHeredocNowdoc (line 186) | public function testExtractionFromIndentedHeredocNowdoc() method resourcesProvider (line 212) | public static function resourcesProvider(): array FILE: Tests/Fixtures/extractor-ast/validator-constraints.php class Foo (line 6) | class Foo class Foo2 (line 27) | class Foo2 method index (line 29) | public function index() FILE: Tests/Formatter/IntlFormatterTest.php class IntlFormatterTest (line 21) | #[RequiresPhpExtension('intl')] method testFormat (line 24) | #[DataProvider('provideDataForFormat')] method testInvalidFormat (line 30) | public function testInvalidFormat() method testFormatWithNamedArguments (line 36) | public function testFormatWithNamedArguments() method provideDataForFormat (line 71) | public static function provideDataForFormat() method testPercentsAndBracketsAreTrimmed (line 92) | #[DataProvider('percentAndBracketsAreTrimmedProvider')] method percentAndBracketsAreTrimmedProvider (line 100) | public static function percentAndBracketsAreTrimmedProvider(): array FILE: Tests/Formatter/MessageFormatterTest.php class MessageFormatterTest (line 18) | class MessageFormatterTest extends TestCase method testFormat (line 20) | #[DataProvider('getTransMessages')] method getTransMessages (line 26) | public static function getTransMessages() method getMessageFormatter (line 46) | private function getMessageFormatter() FILE: Tests/IdentityTranslatorTest.php class IdentityTranslatorTest (line 18) | class IdentityTranslatorTest extends TranslatorTest method setUp (line 22) | protected function setUp(): void method tearDown (line 30) | protected function tearDown(): void method getTranslator (line 37) | public function getTranslator(): TranslatorInterface FILE: Tests/Loader/CsvFileLoaderTest.php class CsvFileLoaderTest (line 20) | class CsvFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadDoesNothingIfEmpty (line 33) | public function testLoadDoesNothingIfEmpty() method testLoadNonExistingResource (line 44) | public function testLoadNonExistingResource() method testLoadNonLocalResource (line 51) | public function testLoadNonLocalResource() FILE: Tests/Loader/IcuDatFileLoaderTest.php class IcuDatFileLoaderTest (line 20) | #[RequiresPhpExtension('intl')] method testLoadInvalidResource (line 23) | public function testLoadInvalidResource() method testDatEnglishLoad (line 30) | public function testDatEnglishLoad() method testDatFrenchLoad (line 44) | public function testDatFrenchLoad() method testLoadNonExistingResource (line 55) | public function testLoadNonExistingResource() FILE: Tests/Loader/IcuResFileLoaderTest.php class IcuResFileLoaderTest (line 20) | #[RequiresPhpExtension('intl')] method testLoad (line 23) | public function testLoad() method testLoadNonExistingResource (line 35) | public function testLoadNonExistingResource() method testLoadInvalidResource (line 42) | public function testLoadInvalidResource() FILE: Tests/Loader/IniFileLoaderTest.php class IniFileLoaderTest (line 19) | class IniFileLoaderTest extends TestCase method testLoad (line 21) | public function testLoad() method testLoadDoesNothingIfEmpty (line 32) | public function testLoadDoesNothingIfEmpty() method testLoadNonExistingResource (line 43) | public function testLoadNonExistingResource() FILE: Tests/Loader/JsonFileLoaderTest.php class JsonFileLoaderTest (line 20) | class JsonFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadDoesNothingIfEmpty (line 33) | public function testLoadDoesNothingIfEmpty() method testLoadNonExistingResource (line 44) | public function testLoadNonExistingResource() method testParseException (line 51) | public function testParseException() FILE: Tests/Loader/LocalizedTestCase.php class LocalizedTestCase (line 16) | abstract class LocalizedTestCase extends TestCase method setUp (line 18) | protected function setUp(): void FILE: Tests/Loader/MoFileLoaderTest.php class MoFileLoaderTest (line 20) | class MoFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadPlurals (line 33) | public function testLoadPlurals() method testLoadNonExistingResource (line 47) | public function testLoadNonExistingResource() method testLoadInvalidResource (line 54) | public function testLoadInvalidResource() method testLoadEmptyTranslation (line 61) | public function testLoadEmptyTranslation() FILE: Tests/Loader/PhpFileLoaderTest.php class PhpFileLoaderTest (line 20) | class PhpFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadNonExistingResource (line 33) | public function testLoadNonExistingResource() method testLoadThrowsAnExceptionIfFileNotLocal (line 40) | public function testLoadThrowsAnExceptionIfFileNotLocal() FILE: Tests/Loader/PoFileLoaderTest.php class PoFileLoaderTest (line 19) | class PoFileLoaderTest extends TestCase method testLoad (line 21) | public function testLoad() method testLoadPlurals (line 32) | public function testLoadPlurals() method testLoadDoesNothingIfEmpty (line 46) | public function testLoadDoesNothingIfEmpty() method testLoadNonExistingResource (line 57) | public function testLoadNonExistingResource() method testLoadEmptyTranslation (line 64) | public function testLoadEmptyTranslation() method testEscapedId (line 75) | public function testEscapedId() method testEscapedIdPlurals (line 86) | public function testEscapedIdPlurals() method testSkipFuzzyTranslations (line 97) | public function testSkipFuzzyTranslations() method testMissingPlurals (line 109) | public function testMissingPlurals() FILE: Tests/Loader/QtFileLoaderTest.php class QtFileLoaderTest (line 20) | class QtFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadNonExistingResource (line 37) | public function testLoadNonExistingResource() method testLoadNonLocalResource (line 44) | public function testLoadNonLocalResource() method testLoadInvalidResource (line 51) | public function testLoadInvalidResource() method testLoadEmptyResource (line 58) | public function testLoadEmptyResource() FILE: Tests/Loader/XliffFileLoaderTest.php class XliffFileLoaderTest (line 21) | class XliffFileLoaderTest extends TestCase method testLoadFile (line 23) | public function testLoadFile() method testLoadRawXliff (line 35) | public function testLoadRawXliff() method testLoadWithInternalErrorsEnabled (line 80) | public function testLoadWithInternalErrorsEnabled() method testLoadWithExternalEntitiesDisabled (line 98) | public function testLoadWithExternalEntitiesDisabled() method testLoadWithResname (line 108) | public function testLoadWithResname() method testIncompleteResource (line 116) | public function testIncompleteResource() method testEncoding (line 124) | public function testEncoding() method testTargetAttributesAreStoredCorrectly (line 144) | public function testTargetAttributesAreStoredCorrectly() method testLoadInvalidResource (line 153) | public function testLoadInvalidResource() method testLoadResourceDoesNotValidate (line 160) | public function testLoadResourceDoesNotValidate() method testLoadNonExistingResource (line 167) | public function testLoadNonExistingResource() method testLoadThrowsAnExceptionIfFileNotLocal (line 174) | public function testLoadThrowsAnExceptionIfFileNotLocal() method testDocTypeIsNotAllowed (line 181) | public function testDocTypeIsNotAllowed() method testParseEmptyFile (line 189) | public function testParseEmptyFile() method testLoadNotes (line 199) | public function testLoadNotes() method testLoadVersion2 (line 244) | public function testLoadVersion2() method testLoadVersion21 (line 262) | public function testLoadVersion21() method testLoadVersion22 (line 280) | public function testLoadVersion22() method testLoadVersion2WithNoteMeta (line 298) | public function testLoadVersion2WithNoteMeta() method testLoadVersion2WithMultiSegmentUnit (line 338) | public function testLoadVersion2WithMultiSegmentUnit() method testLoadWithMultipleFileNodes (line 367) | public function testLoadWithMultipleFileNodes() method testLoadVersion2WithName (line 395) | public function testLoadVersion2WithName() method testLoadVersion2WithSegmentAttributes (line 403) | public function testLoadVersion2WithSegmentAttributes() method testLoadVersion22WithPgsPlural (line 428) | public function testLoadVersion22WithPgsPlural() method testLoadVersion22WithPgsGender (line 443) | public function testLoadVersion22WithPgsGender() method testLoadVersion22WithPgsCombined (line 456) | public function testLoadVersion22WithPgsCombined() FILE: Tests/Loader/YamlFileLoaderTest.php class YamlFileLoaderTest (line 20) | class YamlFileLoaderTest extends TestCase method testLoad (line 22) | public function testLoad() method testLoadNonStringMessages (line 33) | public function testLoadNonStringMessages() method testLoadDoesNothingIfEmpty (line 42) | public function testLoadDoesNothingIfEmpty() method testLoadNonExistingResource (line 53) | public function testLoadNonExistingResource() method testLoadThrowsAnExceptionIfFileNotLocal (line 63) | public function testLoadThrowsAnExceptionIfFileNotLocal() method testLoadThrowsAnExceptionIfNotAnArray (line 73) | public function testLoadThrowsAnExceptionIfNotAnArray() FILE: Tests/LocaleFallbackProviderTest.php class LocaleFallbackProviderTest (line 19) | class LocaleFallbackProviderTest extends TestCase method testConstructorValidatesLocales (line 21) | public function testConstructorValidatesLocales() method testComputeFallbackLocalesValidatesLocale (line 28) | public function testComputeFallbackLocalesValidatesLocale() method testComputeFallbackLocalesShortensSubTags (line 35) | public function testComputeFallbackLocalesShortensSubTags() method testComputeFallbackLocalesUsesIcuParents (line 42) | #[DataProvider('provideIcuParentLocales')] method provideIcuParentLocales (line 50) | public static function provideIcuParentLocales(): array method testComputeFallbackLocalesAppendsUltimateFallbacks (line 59) | public function testComputeFallbackLocalesAppendsUltimateFallbacks() method testComputeFallbackLocalesExcludesOriginFromUltimateFallbacks (line 68) | public function testComputeFallbackLocalesExcludesOriginFromUltimateFa... method testComputeFallbackLocalesReturnsUniqueLocales (line 77) | public function testComputeFallbackLocalesReturnsUniqueLocales() method testComputeFallbackLocalesForRootIcuParentReturnsEmpty (line 87) | public function testComputeFallbackLocalesForRootIcuParentReturnsEmpty() method testValidateLocalePassesForValidLocales (line 95) | #[DataProvider('provideValidLocales')] method provideValidLocales (line 103) | public static function provideValidLocales(): array method testValidateLocaleThrowsForInvalidLocales (line 115) | #[DataProvider('provideInvalidLocales')] method provideInvalidLocales (line 123) | public static function provideInvalidLocales(): array FILE: Tests/LocaleSwitcherTest.php class LocaleSwitcherTest (line 20) | #[RequiresPhpExtension('intl')] method setUp (line 25) | protected function setUp(): void method tearDown (line 30) | protected function tearDown(): void method testCanSwitchLocale (line 35) | public function testCanSwitchLocale() method testCanSwitchLocaleForCallback (line 53) | public function testCanSwitchLocaleForCallback() method testWithRequestContext (line 76) | public function testWithRequestContext() class DummyLocaleAware (line 95) | class DummyLocaleAware implements LocaleAwareInterface method __construct (line 97) | public function __construct(private string $locale) method setLocale (line 101) | public function setLocale(string $locale): void method getLocale (line 106) | public function getLocale(): string FILE: Tests/LoggingTranslatorTest.php class LoggingTranslatorTest (line 19) | class LoggingTranslatorTest extends TestCase method testTransWithNoTranslationIsLogged (line 21) | public function testTransWithNoTranslationIsLogged() FILE: Tests/MessageCatalogueTest.php class MessageCatalogueTest (line 19) | class MessageCatalogueTest extends TestCase method testGetLocale (line 21) | public function testGetLocale() method testGetDomains (line 28) | public function testGetDomains() method testAll (line 35) | public function testAll() method testAllIntlIcu (line 61) | public function testAllIntlIcu() method testHas (line 85) | public function testHas() method testGetSet (line 95) | public function testGetSet() method testAdd (line 105) | public function testAdd() method testAddIntlIcu (line 121) | public function testAddIntlIcu() method testReplace (line 131) | public function testReplace() method testAddCatalogue (line 139) | public function testAddCatalogue() method testAddFallbackCatalogue (line 163) | public function testAddFallbackCatalogue() method testAddFallbackCatalogueWithParentCircularReference (line 192) | public function testAddFallbackCatalogueWithParentCircularReference() method testAddFallbackCatalogueWithFallbackCircularReference (line 204) | public function testAddFallbackCatalogueWithFallbackCircularReference() method testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne (line 218) | public function testAddCatalogueWhenLocaleIsNotTheSameAsTheCurrentOne() method testGetAddResource (line 227) | public function testGetAddResource() method testMetadataDelete (line 241) | public function testMetadataDelete() method testMetadataSetGetDelete (line 250) | public function testMetadataSetGetDelete() method testMetadataMerge (line 266) | public function testMetadataMerge() FILE: Tests/Provider/DsnTest.php class DsnTest (line 20) | final class DsnTest extends TestCase method testConstruct (line 22) | #[DataProvider('constructProvider')] method constructProvider (line 37) | public static function constructProvider(): iterable method testInvalidDsn (line 142) | #[DataProvider('invalidDsnProvider')] method invalidDsnProvider (line 151) | public static function invalidDsnProvider(): iterable method testGetOption (line 169) | #[DataProvider('getOptionProvider')] method getOptionProvider (line 177) | public static function getOptionProvider(): iterable method testGetRequiredOption (line 205) | #[DataProvider('getRequiredOptionProvider')] method getRequiredOptionProvider (line 213) | public static function getRequiredOptionProvider(): iterable method testGetRequiredOptionThrowsMissingRequiredOptionException (line 228) | #[DataProvider('getRequiredOptionThrowsMissingRequiredOptionExceptionP... method getRequiredOptionThrowsMissingRequiredOptionExceptionProvider (line 239) | public static function getRequiredOptionThrowsMissingRequiredOptionExc... FILE: Tests/Provider/FilteringProviderTest.php class FilteringProviderTest (line 19) | class FilteringProviderTest extends TestCase method testReadDelegatesWithFilteredLocales (line 21) | public function testReadDelegatesWithFilteredLocales() FILE: Tests/Provider/NullProviderFactoryTest.php class NullProviderFactoryTest (line 23) | class NullProviderFactoryTest extends TestCase method testCreateThrowsUnsupportedSchemeException (line 25) | public function testCreateThrowsUnsupportedSchemeException() method testCreate (line 32) | public function testCreate() FILE: Tests/Provider/TranslationProviderCollectionTest.php class TranslationProviderCollectionTest (line 18) | class TranslationProviderCollectionTest extends TestCase method testKeys (line 20) | public function testKeys() method testKeysWithGenerator (line 25) | public function testKeysWithGenerator() method testToString (line 36) | public function testToString() method testHas (line 41) | public function testHas() method testGet (line 46) | public function testGet() method testGetThrowsException (line 56) | public function testGetThrowsException() method createProviderCollection (line 64) | private function createProviderCollection(): TranslationProviderCollec... FILE: Tests/PseudoLocalizationTranslatorTest.php class PseudoLocalizationTranslatorTest (line 19) | final class PseudoLocalizationTranslatorTest extends TestCase method testTrans (line 21) | #[DataProvider('provideTrans')] method provideTrans (line 28) | public static function provideTrans(): array method testInvalidExpansionFactor (line 50) | #[DataProvider('provideInvalidExpansionFactor')] method provideInvalidExpansionFactor (line 61) | public static function provideInvalidExpansionFactor(): array method getIsolatedOptions (line 70) | private static function getIsolatedOptions(array $options): array FILE: Tests/StaticMessageTest.php class StaticMessageTest (line 19) | class StaticMessageTest extends TestCase method testTrans (line 21) | public function testTrans() FILE: Tests/TranslatableTest.php class TranslatableTest (line 20) | class TranslatableTest extends TestCase method testTrans (line 22) | #[DataProvider('getTransTests')] method testFlattenedTrans (line 32) | #[DataProvider('getFlattenedTransTests')] method getTransTests (line 42) | public static function getTransTests() method getFlattenedTransTests (line 58) | public static function getFlattenedTransTests() FILE: Tests/TranslatorBagTest.php class TranslatorBagTest (line 18) | class TranslatorBagTest extends TestCase method testAll (line 20) | public function testAll() method testDiff (line 47) | public function testDiff() method testDiffWithIntlDomain (line 69) | public function testDiffWithIntlDomain() method testIntersect (line 97) | public function testIntersect() method getAllMessagesFromTranslatorBag (line 119) | private function getAllMessagesFromTranslatorBag(TranslatorBag $transl... FILE: Tests/TranslatorCacheTest.php class TranslatorCacheTest (line 23) | class TranslatorCacheTest extends TestCase method setUp (line 27) | protected function setUp(): void method tearDown (line 33) | protected function tearDown(): void method deleteTmpDir (line 38) | protected function deleteTmpDir() method testThatACacheIsUsed (line 58) | #[DataProvider('runForDebugAndProduction')] method testCatalogueIsReloadedWhenResourcesAreNoLongerFresh (line 86) | public function testCatalogueIsReloadedWhenResourcesAreNoLongerFresh() method testDifferentTranslatorsForSameLocaleDoNotOverwriteEachOthersCache (line 127) | #[DataProvider('runForDebugAndProduction')] method testGeneratedCacheFilesAreOnlyBelongRequestedLocales (line 158) | public function testGeneratedCacheFilesAreOnlyBelongRequestedLocales() method testDifferentCacheFilesAreUsedForDifferentSetsOfFallbackLocales (line 169) | public function testDifferentCacheFilesAreUsedForDifferentSetsOfFallba... method testPrimaryAndFallbackCataloguesContainTheSameMessagesRegardlessOfCaching (line 199) | public function testPrimaryAndFallbackCataloguesContainTheSameMessages... method testRefreshCacheWhenResourcesAreNoLongerFresh (line 250) | public function testRefreshCacheWhenResourcesAreNoLongerFresh() method testCachedCatalogueIsReDumpedWhenCacheVaryChange (line 273) | public function testCachedCatalogueIsReDumpedWhenCacheVaryChange() method getCatalogue (line 289) | protected function getCatalogue($locale, $messages, $resources = []) method runForDebugAndProduction (line 302) | public static function runForDebugAndProduction() method createFailingLoader (line 307) | private function createFailingLoader(): LoaderInterface class StaleResource (line 318) | class StaleResource implements SelfCheckingResourceInterface method isFresh (line 320) | public function isFresh(int $timestamp): bool method getResource (line 325) | public function getResource() method __toString (line 329) | public function __toString(): string FILE: Tests/TranslatorTest.php class TranslatorTest (line 28) | class TranslatorTest extends TestCase method setUp (line 32) | protected function setUp(): void method tearDown (line 38) | protected function tearDown(): void method testConstructorInvalidLocale (line 43) | #[DataProvider('getInvalidLocalesTests')] method testConstructorValidLocale (line 50) | #[DataProvider('getValidLocalesTests')] method testSetGetLocale (line 58) | public function testSetGetLocale() method testSetInvalidLocale (line 68) | #[DataProvider('getInvalidLocalesTests')] method testSetValidLocale (line 78) | #[DataProvider('getValidLocalesTests')] method testGetCatalogue (line 87) | public function testGetCatalogue() method testGetCatalogueReturnsConsolidatedCatalogue (line 97) | public function testGetCatalogueReturnsConsolidatedCatalogue() method testSetFallbackLocales (line 121) | public function testSetFallbackLocales() method testSetFallbackLocalesMultiple (line 135) | public function testSetFallbackLocalesMultiple() method testSetFallbackInvalidLocales (line 149) | #[DataProvider('getInvalidLocalesTests')] method testSetFallbackValidLocales (line 157) | #[DataProvider('getValidLocalesTests')] method testTransWithFallbackLocale (line 166) | public function testTransWithFallbackLocale() method testAddResourceInvalidLocales (line 177) | #[DataProvider('getInvalidLocalesTests')] method testAddResourceValidLocales (line 187) | #[DataProvider('getValidLocalesTests')] method testAddResourceAfterTrans (line 196) | public function testAddResourceAfterTrans() method testTransWithoutFallbackLocaleFile (line 210) | #[DataProvider('getTransFileTests')] method testTransWithFallbackLocaleFile (line 225) | #[DataProvider('getTransFileTests')] method testTransWithIcuFallbackLocale (line 237) | public function testTransWithIcuFallbackLocale() method testTransWithIcuVariantFallbackLocale (line 249) | public function testTransWithIcuVariantFallbackLocale() method testTransWithIcuRootFallbackLocale (line 269) | public function testTransWithIcuRootFallbackLocale() method testTransWithFallbackLocaleBis (line 279) | #[DataProvider('getFallbackLocales')] method getFallbackLocales (line 289) | public static function getFallbackLocales() method testTransWithFallbackLocaleTer (line 309) | public function testTransWithFallbackLocaleTer() method testTransNonExistentWithFallback (line 322) | public function testTransNonExistentWithFallback() method testWhenAResourceHasNoRegisteredLoader (line 330) | public function testWhenAResourceHasNoRegisteredLoader() method testNestedFallbackCatalogueWhenUsingMultipleLocales (line 340) | public function testNestedFallbackCatalogueWhenUsingMultipleLocales() method testFallbackCatalogueResources (line 350) | public function testFallbackCatalogueResources() method testTrans (line 370) | #[DataProvider('getTransTests')] method testTransICU (line 380) | #[DataProvider('getTransICUTests')] method testTransInvalidLocale (line 390) | #[DataProvider('getInvalidLocalesTests')] method testTransValidLocale (line 402) | #[DataProvider('getValidLocalesTests')] method testFlattenedTrans (line 413) | #[DataProvider('getFlattenedTransTests')] method testTransNullId (line 423) | public function testTransNullId() method getTransFileTests (line 436) | public static function getTransFileTests() method getTransTests (line 451) | public static function getTransTests(): array method getTransICUTests (line 464) | public static function getTransICUTests() method getFlattenedTransTests (line 475) | public static function getFlattenedTransTests() method getInvalidLocalesTests (line 498) | public static function getInvalidLocalesTests() method getValidLocalesTests (line 515) | public static function getValidLocalesTests() method testIntlFormattedDomain (line 531) | #[RequiresPhpExtension('intl')] method testIntlDomainOverlapseWithIntlResourceBefore (line 544) | public function testIntlDomainOverlapseWithIntlResourceBefore() method testMissingLoaderForResourceError (line 564) | public function testMissingLoaderForResourceError() method testTransWithGlobalParameters (line 575) | public function testTransWithGlobalParameters() method testTransWithGlobalTranslatableParameters (line 589) | public function testTransWithGlobalTranslatableParameters() method testTransICUWithGlobalParameters (line 607) | #[RequiresPhpExtension('intl')] class StringClass (line 624) | class StringClass method __construct (line 626) | public function __construct( method __toString (line 631) | public function __toString(): string FILE: Tests/Util/ArrayConverterTest.php class ArrayConverterTest (line 18) | class ArrayConverterTest extends TestCase method testDump (line 20) | #[DataProvider('messagesData')] method messagesData (line 26) | public static function messagesData() FILE: Tests/Writer/TranslationWriterTest.php class TranslationWriterTest (line 23) | class TranslationWriterTest extends TestCase method testWrite (line 25) | public function testWrite() method testGetFormats (line 37) | public function testGetFormats() method testFormatIsNotSupported (line 46) | public function testFormatIsNotSupported() method testUnwritableDirectory (line 55) | public function testUnwritableDirectory() FILE: TranslatableMessage.php class TranslatableMessage (line 20) | class TranslatableMessage implements TranslatableInterface method __construct (line 22) | public function __construct( method getMessage (line 29) | public function getMessage(): string method getParameters (line 34) | public function getParameters(): array method getDomain (line 39) | public function getDomain(): ?string method trans (line 44) | public function trans(TranslatorInterface $translator, ?string $locale... FILE: Translator.php class Translator (line 34) | class Translator implements TranslatorInterface, TranslatorBagInterface,... method __construct (line 76) | public function __construct( method setConfigCacheFactory (line 90) | public function setConfigCacheFactory(ConfigCacheFactoryInterface $con... method addLoader (line 100) | public function addLoader(string $format, LoaderInterface $loader): void method addResource (line 113) | public function addResource(string $format, mixed $resource, string $l... method setLocale (line 129) | public function setLocale(string $locale): void method getLocale (line 135) | public function getLocale(): string method setFallbackLocales (line 147) | public function setFallbackLocales(array $locales): void method getFallbackLocales (line 161) | public function getFallbackLocales(): array method addGlobalParameter (line 166) | public function addGlobalParameter(string $id, string|int|float|Transl... method getGlobalParameters (line 172) | public function getGlobalParameters(): array method trans (line 177) | public function trans(?string $id, array $parameters = [], ?string $do... method getCatalogue (line 226) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 241) | public function getCatalogues(): array method getLoaders (line 251) | protected function getLoaders(): array method loadCatalogue (line 256) | protected function loadCatalogue(string $locale): void method initializeCatalogue (line 265) | protected function initializeCatalogue(string $locale): void method initializeCacheCatalogue (line 279) | private function initializeCacheCatalogue(string $locale): void method dumpCatalogue (line 302) | private function dumpCatalogue(string $locale, ConfigCacheInterface $c... method getFallbackContent (line 326) | private function getFallbackContent(MessageCatalogue $catalogue): string method getCatalogueCachePath (line 355) | private function getCatalogueCachePath(string $locale): string method doLoadCatalogue (line 363) | protected function doLoadCatalogue(string $locale): void method loadFallbackCatalogues (line 381) | private function loadFallbackCatalogues(string $locale): void method computeFallbackLocales (line 399) | protected function computeFallbackLocales(string $locale): array method assertValidLocale (line 409) | protected function assertValidLocale(string $locale): void method getConfigCacheFactory (line 418) | private function getConfigCacheFactory(): ConfigCacheFactoryInterface method getAllMessages (line 425) | private function getAllMessages(MessageCatalogueInterface $catalogue):... FILE: TranslatorBag.php class TranslatorBag (line 17) | final class TranslatorBag implements TranslatorBagInterface method addCatalogue (line 22) | public function addCatalogue(MessageCatalogue $catalogue): void method addBag (line 31) | public function addBag(TranslatorBagInterface $bag): void method getCatalogue (line 38) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 47) | public function getCatalogues(): array method diff (line 52) | public function diff(TranslatorBagInterface $diffBag): self method intersect (line 77) | public function intersect(TranslatorBagInterface $intersectBag): self FILE: TranslatorBagInterface.php type TranslatorBagInterface (line 19) | interface TranslatorBagInterface method getCatalogue (line 28) | public function getCatalogue(?string $locale = null): MessageCatalogue... method getCatalogues (line 35) | public function getCatalogues(): array; FILE: Util/ArrayConverter.php class ArrayConverter (line 26) | class ArrayConverter method expandToTree (line 34) | public static function expandToTree(array $messages): array method getElementByPath (line 49) | private static function &getElementByPath(array &$tree, array $parts):... method cancelExpand (line 86) | private static function cancelExpand(array &$tree, string $prefix, arr... method getKeyParts (line 102) | private static function getKeyParts(string $key): array FILE: Util/XliffUtils.php class XliffUtils (line 23) | class XliffUtils method getVersionNumber (line 32) | public static function getVersionNumber(\DOMDocument $dom): string method validateSchema (line 59) | public static function validateSchema(\DOMDocument $dom): array method shouldEnableEntityLoader (line 85) | private static function shouldEnableEntityLoader(): bool method getErrorsAsString (line 110) | public static function getErrorsAsString(array $xmlErrors): string method getSchema (line 128) | private static function getSchema(string $xliffVersion): string method fixXmlLocation (line 149) | private static function fixXmlLocation(string $schemaSource, string $x... method getXmlErrors (line 174) | private static function getXmlErrors(bool $internalErrors): array FILE: Writer/TranslationWriter.php class TranslationWriter (line 24) | class TranslationWriter implements TranslationWriterInterface method addDumper (line 34) | public function addDumper(string $format, DumperInterface $dumper): void method getFormats (line 42) | public function getFormats(): array method write (line 55) | public function write(MessageCatalogue $catalogue, string $format, arr... FILE: Writer/TranslationWriterInterface.php type TranslationWriterInterface (line 22) | interface TranslationWriterInterface method write (line 32) | public function write(MessageCatalogue $catalogue, string $format, arr...