Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class LocaleCollectionSortService |
||
11 | { |
||
12 | public const SORT_DEFAULT = self::SORT_AFTER; |
||
13 | public const SORT_AFTER = 'after'; |
||
14 | public const SORT_BEFORE = 'before'; |
||
15 | public const SORT_REPLACE = 'replace'; |
||
16 | |||
17 | public function addLocaleByMode(LocaleCollection $collection, LocaleValueObject $locale, string $mode = self::SORT_DEFAULT): LocaleCollection |
||
36 |