public function invalidateLoadedTemplates(): void
    {
        try {
            $me     = new \ReflectionClass($this);
            $parent = $me;

            while ($parent instanceof \ReflectionClass) {
                $me     = $parent;
                $parent = $me->getParentClass();
            }

            $templates = $me->getProperty('loadedTemplates');
            $templates->setAccessible(true);
            $templates->setValue($this, []);
        } catch (\ReflectionException $e) {
        }
    }