소스 검색

Better docstring for FormError constructor

Gabriel Birke 14 년 전
부모
커밋
22a49f14df
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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.