Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixing bad namespace slashes for custom converter #214

Merged
merged 1 commit into from

2 participants

Ryan Weaver Fabien Potencier
Ryan Weaver

Hi guys!

Just some direction-confused slashes :).

Thanks!

Fabien Potencier fabpot referenced this pull request from a commit
Fabien Potencier fabpot merged branch weaverryan/patch-1 (PR #214)
This PR was merged into the master branch.

Discussion
----------

Fixing bad namespace slashes for custom converter

Hi guys!

Just some direction-confused slashes :).

Thanks!

Commits
-------

1aed40c Fixing bad namespace slashes for custom converter
3835a02
Fabien Potencier fabpot merged commit 1aed40c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/doc/annotations/converters.rst
4 Resources/doc/annotations/converters.rst
View
@@ -217,13 +217,13 @@ To register your converter service you must add a tag to your service
# app/config/config.yml
services:
my_converter:
- class: MyBundle/Request/ParamConverter/MyConverter
+ class: MyBundle\Request\ParamConverter\MyConverter
tags:
- { name: request.param_converter, priority: -2, converter: my_converter }
.. code-block:: xml
- <service id="my_converter" class="MyBundle/Request/ParamConverter/MyConverter">
+ <service id="my_converter" class="MyBundle\Request\ParamConverter\MyConverter">
<tag name="request.param_converter" priority="-2" converter="my_converter" />
</service>
Something went wrong with that request. Please try again.