Skip to content

Commit

Permalink
[HttpFoundation] added a missing phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Nov 12, 2010
1 parent f6ddeeb commit f669674
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Symfony/Component/HttpFoundation/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,12 @@ public function getEtag()
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) {
Expand Down

0 comments on commit f669674

Please sign in to comment.