This commit is contained in:
Khushboo Verma
2024-03-11 15:51:19 +01:00
parent f482d96225
commit c2bdbbe1ec
10 changed files with 80 additions and 16 deletions
+4
View File
@@ -875,6 +875,10 @@ App::setResource('hooks', function ($register) {
return $register->get('hooks');
}, ['register']);
App::setResource('startTime', function() {
return \microtime(true);
});
App::setResource('register', fn() => $register);
App::setResource('locale', fn() => new Locale(App::getEnv('_APP_LOCALE', 'en')));