You are here

public function Kitchen::eat in Bakery Single Sign-On System 8.2

Nom Nom Nom Nom.

Destroys browser cookies.

Parameters

string $type: Cookie type

File

src/Kitchen.php, line 203

Class

Kitchen

Namespace

Drupal\bakery

Code

public function eat(string $type) : void {
  $this->cookieJar
    ->set($this
    ->cookieName($type), '');
}