Skip to content

Commit bb66808

Browse files
committed
wip - doctor it up
1 parent 39d4b82 commit bb66808

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Resources/doc/index.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ This bundle doesn't require any configuration. But, you *can* override the defau
6969
configuration:
7070

7171
.. code-block:: yaml
72+
7273
# config/packages/maker.yaml
7374
when@dev:
7475
maker:
@@ -87,7 +88,7 @@ this to ``Acme`` would cause MakerBundle to create new classes like
8788
(e.g. ``Acme\Entity\Article``, ``Acme\Command\MyCommand``, etc).
8889

8990
generate_final_classes
90-
~~~~~~~~~~~~~~
91+
~~~~~~~~~~~~~~~~~~~~~~
9192

9293
**type**: ``boolean`` **default**: ``true``
9394

@@ -98,6 +99,7 @@ to override this behavior for all maker commands.
9899
See https://www.php.net/manual/en/language.oop5.final.php
99100

100101
.. code-block:: php
102+
101103
final class MyVoter
102104
{
103105
...
@@ -121,6 +123,7 @@ entities.
121123
See https://www.php.net/manual/en/language.oop5.final.php
122124

123125
.. code-block:: php
126+
124127
#[ORM\Entity(repositoryClass: TaskRepository::class)]
125128
class Task extends AbstractEntity
126129
{
@@ -156,6 +159,5 @@ For that reason, in general, the generated code cannot be modified. In many case
156159
adding your *own* maker command is so easy, that we recommend that. However, if there
157160
is some extension point that you'd like, please open an issue so we can discuss!
158161

159-
.. _`SensioGeneratorBundle`: https://github.com/sensiolabs/SensioGeneratorBundle
160162
.. _`AbstractMaker`: https://github.com/symfony/maker-bundle/blob/main/src/Maker/AbstractMaker.php
161163
.. _`core maker commands`: https://github.com/symfony/maker-bundle/tree/main/src/Maker

0 commit comments

Comments
 (0)