Issues

ZF2-254: Set-Cookie header missing setters in constructor

Description

The Set-Cookie header class is missing two setters in its constructor, path and httponly. The following fixes this:


+ if ($path) {
+     $this->setPath($path);
+ }

  if ($secure) {
      $this->setSecure($secure);
  }

+ if ($httponly) {
+     $this->setHttponly($httponly);
+ }

Comments

Fixed in Pull Request #1009: https://github.com/zendframework/zf2/pull/1009