"<<<base-dir>>>" is not replaced with the real path
thenotsoft opened this issue · 1 comments
thenotsoft commented
params:
'locale' => [
'paths' => [
dirname(__DIR__) . '/translations'
],
'fallback' => 'en',
'supported' => ['en']
],
config:
TranslatorInterface::class => new App\Factory\TranslatorFactory(
$params['locale']['paths'],
$params['locale']['fallback']
),
output:
'Yiisoft\\I18n\\TranslatorInterface' => unserialize("O:29:\"App\\Factory\\TranslatorFactory\":2:{s:48:\"\x00App\\Factory\\TranslatorFactory\x00translationsPaths\";a:1:{i:0;s:27:\"<<<base-dir>>>/translations\";}s:45:\"\x00App\\Factory\\TranslatorFactory\x00localeFallback\";s:2:\"en\";}"),
Additional info
Q | A |
---|---|
Version | |
Composer Version | 1.10.6 |
PHP version | 7.4.6 |
Operating system | ubuntu 20.4 |
samdark commented
Can't reproduce with current master. Seems to be fixed.