public function delete($key){
        $domain = ltrim($_SERVER['SERVER_NAME'], "www.");
        unset($_COOKIE[$key]);
        setcookie($key, "", -1, '/', $domain, $this->secured, $this->httpOnly);
    }
public function delete($key){
        $domain = ltrim($_SERVER['SERVER_NAME'], "www.");
        unset($_COOKIE[$key]);
        setcookie($key, "", -1, '/', $domain, $this->secured, $this->httpOnly);
    }
public function delete ( $ key ) { $ domain = ltrim ( $ _SERVER [ 'SERVER_NAME' ] , "www." ) ; unset ( $ _COOKIE [ $ key ] ) ; setcookie ( $ key , "" , - 1 , '/' , $ domain , $ this -> secured , $ this -> httpOnly ) ; }
Delete a single cookie value
@param $key
Delete a single cookie value