Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbook/form/data_transformers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Next, you need to instantiate the ``IssueToNumberTransformer`` class from inside
of the entity manager (because ``IssueToNumberTransformer`` needs this).

No problem! Just add a ``__construct()`` function to ``TaskType`` and force this
to be passed in by registering ``TaskType`` as a service.::
to be passed in by registering ``TaskType`` as a service::

// src/AppBundle/Form/TaskType.php
namespace AppBundle\Form\Type;
Expand Down