silverstripe-framework/tests/php/i18n/i18nTextCollectorTest/Collector.php
Damian Mooyman 8a07c56bdf API Replace i18n message localisation with symfony/translation
API Implement enhanced pluralisation
Remove Zend_Translate and all Zend dependencies from i18n
Deprecated $context from i18n::_t()
Warn on missing default string for i18n::_t()
2017-01-25 17:08:12 +13:00

38 lines
898 B
PHP

<?php
namespace SilverStripe\i18n\Tests\i18nTextCollectorTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\i18n\TextCollection\i18nTextCollector;
/**
* Assist with testing of specific protected methods
*/
class Collector extends i18nTextCollector implements TestOnly
{
public function getModules_Test($directory)
{
return $this->getModules($directory);
}
public function resolveDuplicateConflicts_Test($entitiesByModule)
{
return $this->resolveDuplicateConflicts($entitiesByModule);
}
public function getFileListForModule_Test($module)
{
return $this->getFileListForModule($module);
}
public function getConflicts_Test($entitiesByModule)
{
return $this->getConflicts($entitiesByModule);
}
public function findModuleForClass_Test($class)
{
return $this->findModuleForClass($class);
}
}