View file vendor/laravel/framework/src/Illuminate/Contracts/Translation/HasLocalePreference.php
<?php namespace Illuminate\Contracts\Translation; interface HasLocalePreference { /** * Get the preferred locale of the entity. * * @return string|null */ public function preferredLocale(); }