1
0
mirror of https://github.com/flarum/core.git synced 2025-10-18 18:26:07 +02:00

Rough extension management implementation

This commit is contained in:
Toby Zerner
2015-08-03 12:03:30 +09:30
parent 66ee6e57ee
commit 70901b1420
13 changed files with 370 additions and 8 deletions

View File

@@ -31,6 +31,12 @@ class Formatter
return $configurator;
}
public function flush()
{
$this->cache->forget('flarum.formatter.parser');
$this->cache->forget('flarum.formatter.renderer');
}
protected function getComponent($key)
{
$cacheKey = 'flarum.formatter.' . $key;