public static function delete($key, $path = '/') {
        if (self::has($key)) {
            setcookie($key, '', time() - 3600, $path);
        }
    }
public static function delete($key, $path = '/') {
        if (self::has($key)) {
            setcookie($key, '', time() - 3600, $path);
        }
    }
public static function delete ( $ key , $ path = '/' ) { if ( self :: has ( $ key ) ) { setcookie ( $ key , '' , time ( ) - 3600 , $ path ) ; } }
Delete cookie data by given key

@param string $key
@param string $path
Delete cookie data by given key