Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace Illuminate\Contracts\Translation; | ||||
4 | |||||
5 | interface HasLocalePreference | ||||
6 | { | ||||
7 | /** | ||||
8 | * Get the preferred locale of the entity. | ||||
9 | * | ||||
10 | * @return string|null | ||||
11 | */ | ||||
12 | public function preferredLocale(); | ||||
13 | } |