Browse Source

[HttpFoundation] added a missing phpdoc

Fabien Potencier 14 years ago
parent
commit
f669674293
1 changed files with 6 additions and 0 deletions
  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) {