Skip to content

Commit

Permalink
Kdyby#136: invalidate only translator's namespace instead of whole c…
Browse files Browse the repository at this point in the history
…ache
  • Loading branch information
nothrem committed Jan 12, 2023
1 parent 7376f7e commit 2c9309a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CatalogueCompiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function enableDebugMode()

public function invalidateCache()
{
$this->cache->clean([Cache::ALL => TRUE]);
$this->cache->clean([Cache::NAMESPACES => [Translator::class]]);
}

/**
Expand Down

0 comments on commit 2c9309a

Please sign in to comment.