From 6bf2f22315bf0161b5ceb5461a939a30c2bcf3f8 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Mon, 20 Dec 2010 22:19:02 +0100 Subject: [PATCH] Add another note about how Query#setParameter() accepts named or positional parameters. --- en/reference/dql-doctrine-query-language.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/en/reference/dql-doctrine-query-language.rst b/en/reference/dql-doctrine-query-language.rst index 5f9e9cf1b..710fafd2d 100644 --- a/en/reference/dql-doctrine-query-language.rst +++ b/en/reference/dql-doctrine-query-language.rst @@ -1086,6 +1086,8 @@ pass parameters to the query the following methods can be used: - ``AbstractQuery::getParameter($param)`` - ``AbstractQuery::getParameters()`` +Both named and positional parameters are passed to these methods without their ? or : prefix. + Cache related API ^^^^^^^^^^^^^^^^^