protected function forgetByKey($key)
    {
        $result = false;

        if (Cache::has($key)) {
            $result = Cache::forget($key);
        }

        return $result;
    }
protected function forgetByKey($key)
    {
        $result = false;

        if (Cache::has($key)) {
            $result = Cache::forget($key);
        }

        return $result;
    }
protected function forgetByKey ( $ key ) { $ result = false ; if ( Cache :: has ( $ key ) ) { $ result = Cache :: forget ( $ key ) ; } return $ result ; }
Forget something by key.

@param string $key

@return bool
Forget something by key .