force mapper reload after change

This commit is contained in:
Dennis Eichhorn 2020-07-29 21:32:36 +02:00
parent f6947c8dda
commit 2195a7135b

View File

@ -51,5 +51,7 @@ class Comments
' @Module Comments */'
], '', $mapper);
\file_put_contents(__DIR__ . '/../../Models/NewsArticleMapper.php', $mapper);
\opcache_invalidate(__DIR__ . '/../../Models/NewsArticleMapper.php');
}
}