framework
framework copied to clipboard
[Proposal] Application should have getLocale method
I am writing an application where I use the App::setLocale method and naturally went to use App::getLocale assuming that method would exist.
I was able to use Config::get('app.locale') but it might be helpful if the App was able to return it.
OK. Feel free to make a pull request on the 4.0 branch.