Ver Fonte

[HttpFoundation] added a missing phpdoc

Fabien Potencier há 14 anos atrás
pai
commit
f669674293
1 ficheiros alterados com 6 adições e 0 exclusões
  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) {