Explorar el Código

[HttpFoundation] added a missing phpdoc

Fabien Potencier hace 14 años
padre
commit
f669674293
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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) {