Permalink
Browse files

bug #4297 [Cookbook][Doctrine] Fix typo in XML configuration for cust…

…om SQL functions (jdecool)

This PR was merged into the 2.3 branch.

Discussion
----------

[Cookbook][Doctrine] Fix typo in XML configuration for custom SQL functions

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

2cb85a1 [Cookbook][Doctrine] Fix typo in XML configuration for custom SQL function
  • Loading branch information...
wouterj committed Oct 5, 2014
2 parents f81b7ad + 2cb85a1 commit 061324f69e8418d5cc8f5bef28ac7b3618f44e8c
Showing with 4 additions and 4 deletions.
  1. +4 −4 cookbook/doctrine/custom_dql_functions.rst
@@ -39,10 +39,10 @@ In Symfony, you can register your custom DQL functions as follows:
<doctrine:orm>
<!-- ... -->
<doctrine:dql>
<doctrine:string-function name="test_string>Acme\HelloBundle\DQL\StringFunction</doctrine:string-function>
<doctrine:string-function name="second_string>Acme\HelloBundle\DQL\SecondStringFunction</doctrine:string-function>
<doctrine:numeric-function name="test_numeric>Acme\HelloBundle\DQL\NumericFunction</doctrine:numeric-function>
<doctrine:datetime-function name="test_datetime>Acme\HelloBundle\DQL\DatetimeFunction</doctrine:datetime-function>
<doctrine:string-function name="test_string">Acme\HelloBundle\DQL\StringFunction</doctrine:string-function>
<doctrine:string-function name="second_string">Acme\HelloBundle\DQL\SecondStringFunction</doctrine:string-function>
<doctrine:numeric-function name="test_numeric">Acme\HelloBundle\DQL\NumericFunction</doctrine:numeric-function>
<doctrine:datetime-function name="test_datetime">Acme\HelloBundle\DQL\DatetimeFunction</doctrine:datetime-function>
</doctrine:dql>
</doctrine:orm>
</doctrine:config>

0 comments on commit 061324f

Please sign in to comment.