Feature #35387
Configuration for own Formatters
| Status: | New | Start date: | 2012-03-30 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | I18n | |||
| Target version: | - | |||
| PHP Version: | 5.3 | Complexity: | medium | |
| Has patch: | No | |||
| Votes: | 0 |
Description
The current implementation of TYPO3\FLOW3\I18n\FormatResolver::getFormatter() only tries to get formatters from the TYPO3\FLOW3\I18n\Formatter namespace.
It should, however, be somehow possible to use your own formatters in your own namespace.
I have two suggestions for this:
- Use annotations to collect all possible formatter names
- Add a setting in Settings.yaml with a list of registered Formatter-Namespaces
History
Updated by Julian Wachholz about 1 year ago
Also possible to use ReflectionService::getAllImplementationClassNamesForInterface