dhii / i18n-helper-base
A base for internationalization consumers
Installs: 14 004
Dependents: 28
Suggesters: 3
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^5.4 | ^7.0
- dhii/i18n-interface: ^0.1|^0.2
Requires (Dev)
- codeclimate/php-test-reporter: <=0.3.2
- dhii/php-cs-fixer-config: dev-php-5.3
- phpunit/phpunit: ^4.8
- ptrofimov/xpmock: ^1.1
This package is auto-updated.
Last update: 2020-06-09 12:40:54 UTC
README
A base for internationalization consumers.
Traits
StringTranslatingTrait
- Functionality for interpolation and no-op translation of strings. Is also the base for more complex translation functionality.StringTranslatorConsumingTrait
- Functionality for string translation by using aStringTranslatorInterface
.StringTranslatorAwareTrait
- Awareness of a string translator.