• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/cryptocookie.php
  • Класс: BitrixMainWebCryptoCookie
  • Вызов: CryptoCookie::copyAttributesTo
public function copyAttributesTo(Cookie $cookie): void
{
	$cookie
		->setDomain($this->getDomain())
		->setExpires($this->getExpires())
		->setHttpOnly($this->getHttpOnly())
		->setSpread($this->getSpread())
		->setPath($this->getPath())
		->setSecure($this->getSecure())
	;
}