| 1 | <?php namespace Anomaly\PreferencesModule\Preference\Listener\Command; |
||
| 17 | class SetLocale implements SelfHandling |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Handle the command. |
||
| 22 | * |
||
| 23 | * @param Application $app |
||
| 24 | * @param Repository $config |
||
| 25 | * @param Request $request |
||
| 26 | * @param PreferenceRepositoryInterface $preferences |
||
| 27 | */ |
||
| 28 | function handle(Application $app, Repository $config, Request $request, PreferenceRepositoryInterface $preferences) |
||
| 39 | } |
||
| 40 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.