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