Skip to content

Commit 0da5e36

Browse files
advancinguweaverryan
authored andcommitted
XML callback definition needs to define an array to work
1 parent 29c5f84 commit 0da5e36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

reference/constraints/Callback.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,10 @@ process. Each method can be one of the following formats:
162162
<class name="Acme\BlogBundle\Entity\Author">
163163
<constraint name="Callback">
164164
<option name="methods">
165-
<value>Acme\BlogBundle\MyStaticValidatorClass</value>
166-
<value>isAuthorValid</value>
165+
<value>
166+
<value>Acme\BlogBundle\MyStaticValidatorClass</value>
167+
<value>isAuthorValid</value>
168+
</value>
167169
</option>
168170
</constraint>
169171
</class>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy