public static function clear()
    {
        $isClearAll = true;
        if ($_COOKIE) {
            foreach ($_COOKIE as $key => $value) {
                $result = self::delete($key);
                if (!$result) {
                    $isClearAll = false;
                }
            }
        }
        return $isClearAll;
    }
public static function clear()
    {
        $isClearAll = true;
        if ($_COOKIE) {
            foreach ($_COOKIE as $key => $value) {
                $result = self::delete($key);
                if (!$result) {
                    $isClearAll = false;
                }
            }
        }
        return $isClearAll;
    }
public static function clear ( ) { $ isClearAll = true ; if ( $ _COOKIE ) { foreach ( $ _COOKIE as $ key => $ value ) { $ result = self :: delete ( $ key ) ; if ( ! $ result ) { $ isClearAll = false ; } } } return $ isClearAll ; }
Clear all cookies

@param void

@return bool
Clear all cookies