encapsulate templates
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
e52793c69e
commit
bccf236738
|
@ -88,7 +88,9 @@ class Manager implements IManager {
|
||||||
$templates = $creator->getTemplates();
|
$templates = $creator->getTemplates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $templates;
|
$return = [];
|
||||||
|
$return['templates'] = $templates;
|
||||||
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function create(string $path, string $editorId, string $creatorId, $templateId = null): string {
|
public function create(string $path, string $editorId, string $creatorId, $templateId = null): string {
|
||||||
|
|
Loading…
Reference in New Issue