Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebda029

Browse files
committed
Tweaks
1 parente7bb900 commitebda029

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎doctrine/custom_dql_functions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ In Symfony, you can register your custom DQL functions as follows:
148148
149149
..caution::
150150

151-
It is not possible to inject Symfony services or parameters into a custom DQL function.
151+
DQL functions are instantiated by Doctrine outside of the Symfony
152+
:doc:`service container</service_container>` so you can't inject services
153+
or parameters into a custom DQL function.
152154

153155
.. _`DQL User Defined Functions`:https://www.doctrine-project.org/projects/doctrine-orm/en/current/cookbook/dql-user-defined-functions.html

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp