| Conditions | 2 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | public function __construct( |
||
| 12 | LocalizationAwareInterface $localizationAware, |
||
| 13 | bool $publicOnly = true, |
||
| 14 | bool $disabledConstructor = false |
||
| 15 | ) { |
||
| 16 | $conversionFn = static function ($locale) { |
||
| 17 | return $locale === null ? 'en' : ((string) $locale); |
||
| 18 | }; |
||
| 19 | parent::__construct($localizationAware, $conversionFn, $publicOnly, $disabledConstructor); |
||
| 20 | } |
||
| 22 |