We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f86361 commit 83a59ccCopy full SHA for 83a59cc
src/Caching/ConfigCachingService.php
@@ -41,7 +41,7 @@ public function __construct()
41
*/
42
public function refreshCache()
43
{
44
- Event::fire('JsLocalization.registerConfig');
+ Event::dispatch('JsLocalization.registerConfig');
45
46
$configJson = $this->createConfigJson();
47
$this->refreshCacheUsing($configJson);
src/Caching/MessageCachingService.php
@@ -60,7 +60,7 @@ public function getMessagesJson($noCache = false)
60
61
62
63
- Event::fire('JsLocalization.registerMessages');
+ Event::dispatch('JsLocalization.registerMessages');
64
65
$messagesJSON = $this->createMessagesJson();
66
$this->refreshCacheUsing($messagesJSON);
0 commit comments