Skip to content

Commit 5c0fa89

Browse files
committed
Reword paragraph
Because it was a single sentence without punctuation, it was hard to grasp that implementing the PrependExtensionInterface was optional. (cherry picked from commit b9059dc)
1 parent bf3ec97 commit 5c0fa89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/developers/extensions/structure.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Create an extension
2929
===================
3030

3131
For the PHP package to be an extension you need a class
32-
extending `\Symfony\Component\DependencyInjection\Extension\Extension` by
33-
implementing the interface
34-
`Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface` we
35-
can also add our own configurations to our extension:
32+
extending `\Symfony\Component\DependencyInjection\Extension\Extension`.
33+
By implementing the interface
34+
`Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface`
35+
you can also configure the guides extension from your extension:
3636

3737
.. literalinclude:: _YourExtension.php
3838
:language: php

0 commit comments

Comments
 (0)