Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
cryptocookie.php
1<?php
2namespace Bitrix\Main\Web;
3
4class CryptoCookie extends Cookie
5{
6 public function copyAttributesTo(Cookie $cookie): void
7 {
8 $cookie
9 ->setDomain($this->getDomain())
10 ->setExpires($this->getExpires())
11 ->setHttpOnly($this->getHttpOnly())
12 ->setSpread($this->getSpread())
13 ->setPath($this->getPath())
14 ->setSecure($this->getSecure())
15 ;
16 }
17}