1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 13:16:45 +02:00

feat(parsers): rename initShortcodes to regsiterShortcodes`

This commit is contained in:
Awilum
2022-09-10 15:04:45 +03:00
parent 189d820c2b
commit 64b641c09b
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ final class Shortcodes
*
* @param array $shortcodes Shortcodes to init.
*/
public function initShortcodes(array $shortcodes): void
public function registerShortcodes(array $shortcodes): void
{
if (
count($shortcodes) <= 0

View File

@@ -310,7 +310,7 @@ container()->set('cache', static function () {
container()->set('parsers', new Parsers());
// Init Shortcodes
parsers()->shortcodes()->initShortcodes(registry()->get('flextype.settings.parsers.shortcodes.shortcodes'));
parsers()->shortcodes()->registerShortcodes(registry()->get('flextype.settings.parsers.shortcodes.shortcodes'));
// Add Serializers Service
container()->set('serializers', new Serializers());