YoastSEO_Vendor\GuzzleHttp\Cookie
SetCookie::setMaxAge() public Yoast 1.0
Set the max-age of the cookie
{} Это метод класса: SetCookie{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$SetCookie = new SetCookie(); $SetCookie->setMaxAge( $maxAge );
- $maxAge(число) (обязательный)
- Max age of the cookie in seconds
Код SetCookie::setMaxAge() SetCookie::setMaxAge Yoast 15.7
public function setMaxAge($maxAge)
{
$this->data['Max-Age'] = $maxAge;
}