public function resetInMemoryCache(): void
{ Feature::
triggerDeprecationOrThrow( 'v6.6.0.0',
Feature::
deprecatedMethodMessage(self::
class, __METHOD__, 'v6.6.0.0', 'Use reset() instead'
) );
$this->
reset();
} public function reset(): void
{ $this->
resetInjection();
$this->isCustomized =
[];
$this->snippets =
[];
$this->traces =
[];
$this->keys =
['all' => true
];
$this->snippetSetId = null;
$this->salesChannelId = null;
$this->localeBeforeInject = null;
$this->locale = null;
if ($this->translator instanceof SymfonyTranslator
) { // Reset FallbackLocale in memory cache of symfony implementation