Blame view

vendor/aura/intl/scripts/instance.php 342 Bytes
6c4edfa3   Alexandre   First Commit LabI...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
namespace Aura\Intl;

require dirname(__DIR__) . '/src.php';

return new TranslatorLocator(
    new PackageLocator,
    new FormatterLocator([
        'basic' => function() { return new Aura\Intl\BasicFormatter; },
        'intl'  => function() { return new Aura\Intl\IntlFormatter; },
    ]),
    new TranslatorFactory,
    'en_US'
);