コード例 #1
0
ファイル: Cookie.php プロジェクト: lamenath/fbp
 /**
  * {@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);
 }