You are here

public function BrowserCookieTrait::removeCookie in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserCookieTrait.php \Zumba\GastonJS\Browser\BrowserCookieTrait::removeCookie()

Deletes a cookie on the browser if exists

Parameters

$cookieName:

Return value

bool

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserCookieTrait.php, line 45

Class

BrowserCookieTrait
Trait BrowserCookieTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function removeCookie($cookieName) {
  return $this
    ->command('remove_cookie', $cookieName);
}