public function expireCookie($name, $extra = '')
    {
        $extra = implode('; ', array_filter([ $extra, 'Expires=' . date('r', 0) ]));
        return $this->withCookie($name, 'deleted', $extra);
    }
public function expireCookie($name, $extra = '')
    {
        $extra = implode('; ', array_filter([ $extra, 'Expires=' . date('r', 0) ]));
        return $this->withCookie($name, 'deleted', $extra);
    }
public function expireCookie ( $ name , $ extra = '' ) { $ extra = implode ( '; ' , array_filter ( [ $ extra , 'Expires=' . date ( 'r' , 0 ) ] ) ) ; return $ this -> withCookie ( $ name , 'deleted' , $ extra ) ; }
Expires an existing cookie
@param  string    $name the cookie name
@param  string    $extra optional extra params for the cookie (semicolon delimited)
@return self
Expires an existing cookie