Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 061324f

Browse files
committed
bug symfony#4297 [Cookbook][Doctrine] Fix typo in XML configuration for custom 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
2 parents f81b7ad + 2cb85a1 commit 061324f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/doctrine/custom_dql_functions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ In Symfony, you can register your custom DQL functions as follows:
3939
<doctrine:orm>
4040
<!-- ... -->
4141
<doctrine:dql>
42-
<doctrine:string-function name="test_string>Acme\HelloBundle\DQL\StringFunction</doctrine:string-function>
43-
<doctrine:string-function name="second_string>Acme\HelloBundle\DQL\SecondStringFunction</doctrine:string-function>
44-
<doctrine:numeric-function name="test_numeric>Acme\HelloBundle\DQL\NumericFunction</doctrine:numeric-function>
45-
<doctrine:datetime-function name="test_datetime>Acme\HelloBundle\DQL\DatetimeFunction</doctrine:datetime-function>
42+
<doctrine:string-function name="test_string">Acme\HelloBundle\DQL\StringFunction</doctrine:string-function>
43+
<doctrine:string-function name="second_string">Acme\HelloBundle\DQL\SecondStringFunction</doctrine:string-function>
44+
<doctrine:numeric-function name="test_numeric">Acme\HelloBundle\DQL\NumericFunction</doctrine:numeric-function>
45+
<doctrine:datetime-function name="test_datetime">Acme\HelloBundle\DQL\DatetimeFunction</doctrine:datetime-function>
4646
</doctrine:dql>
4747
</doctrine:orm>
4848
</doctrine:config>

0 commit comments

Comments
 (0)