View file vendor/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(); }