YoastSEO_Vendor\GuzzleHttp\Cookie
CookieJarInterface::clear() public Yoast 1.0
Remove cookies currently held in the cookie jar.
Invoking this method without arguments will empty the whole cookie jar. If given a $domain argument only cookies belonging to that domain will be removed. If given a $domain and $path argument, cookies belonging to the specified path within that domain are removed. If given all three arguments, then the cookie with the specified name, path and domain is removed.
{} Это метод класса: CookieJarInterface{}
Хуков нет.
Возвращает
CookieJarInterface.
Использование
$CookieJarInterface = new CookieJarInterface(); $CookieJarInterface->clear( $domain, $path, $name );
- $domain(строка)
- Clears cookies matching a domain
По умолчанию: null - $path(строка)
- Clears cookies matching a domain and path
По умолчанию: null - $name(строка)
- Clears cookies matching a domain, path, and name
По умолчанию: null
Код CookieJarInterface::clear() CookieJarInterface::clear Yoast 15.7
public function clear($domain = null, $path = null, $name = null);