| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 16 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 10 | 
| CRAP Score | 1.0046 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 22 | 1 | public function newInstance()  | 
            |
| 23 |     { | 
            ||
| 24 | 1 | return new TranslatorLocator(  | 
            |
| 25 | 1 | new PackageLocator,  | 
            |
| 26 | 1 | new FormatterLocator([  | 
            |
| 27 |                 'basic' => function () { | 
            ||
| 28 | return new \Aura\Intl\BasicFormatter;  | 
            ||
| 29 | 1 | },  | 
            |
| 30 | 1 |                 'intl'  => function () { | 
            |
| 31 | return new \Aura\Intl\IntlFormatter;  | 
            ||
| 32 | 1 | },  | 
            |
| 33 | 1 | ]),  | 
            |
| 34 | 1 | new TranslatorFactory,  | 
            |
| 35 | 'en_US'  | 
            ||
| 36 | 1 | );  | 
            |
| 37 | }  | 
            ||
| 38 | }  | 
            ||
| 39 |