Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function compare(CookieInterface $cookie)
 {
     return $this->name === $cookie->getName() && $this->getAttribute(self::ATTR_DOMAIN) === $cookie->getAttribute(self::ATTR_DOMAIN) && $this->getAttribute(self::ATTR_PATH) === $cookie->getAttribute(self::ATTR_PATH);
 }