Explorar o código

Better docstring for FormError constructor

Gabriel Birke %!s(int64=14) %!d(string=hai) anos
pai
achega
22a49f14df
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/Symfony/Component/Form/FormError.php

+ 4 - 0
src/Symfony/Component/Form/FormError.php

@@ -33,6 +33,10 @@ class FormError
     /**
      * Constructor
      *
+     * Any array key in $messageParameters will be used as a placeholder in
+     * $messageTemplate.
+     * @see Symfony\Component\Translation\Translator
+     *
      * @param string $messageTemplate      The template for the error message
      * @param array $messageParameters     The parameters that should be
      *                                     substituted in the message template.