소스 검색

[HttpFoundation] added a missing phpdoc

Fabien Potencier 14 년 전
부모
커밋
f669674293
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/Symfony/Component/HttpFoundation/Response.php

+ 6 - 0
src/Symfony/Component/HttpFoundation/Response.php

@@ -515,6 +515,12 @@ class Response
         return $this->headers->get('ETag');
     }
 
+    /**
+     * Sets the ETag value.
+     *
+     * @param string  $etag The ETag unique identifier
+     * @param Boolean $weak Whether you want a weak ETag or not
+     */
     public function setEtag($etag = null, $weak = false)
     {
         if (null === $etag) {