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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user