Skip to content

Commit 9c617f2

Browse files
authored
Fix: Use correct interface for custom extensions (missing one)
1 parent a1aa08c commit 9c617f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/2.6/customization/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ redirect_from: /customization/extensions/
99

1010
Extensions provide a way to group related parsers, renderers, etc. together with pre-defined priorities, configuration settings, etc. They are perfect for distributing your customizations as reusable, open-source packages that others can plug into their own projects!
1111

12-
To create an extension, simply create a new class implementing `ExtensionInterface`. This has a single method where you're given a `ConfigurableEnvironmentInterface` to register whatever things you need to. For example:
12+
To create an extension, simply create a new class implementing `ExtensionInterface`. This has a single method where you're given a `EnvironmentBuilderInterface` to register whatever things you need to. For example:
1313

1414
```php
1515
use League\CommonMark\Extension\ExtensionInterface;

0 commit comments

Comments
 (0)