doPing example

/** * Pings SBP to see if a connection is available and the service is up * * @throws Exception * * @return bool */
    public function pingServer()
    {
        try {
            return $this->storeClient->doPing();
        } catch (Exception $e) {
            $snippet = $this->snippetManager
                ->getNamespace('backend/plugin_manager/exceptions')
                ->get('timeout', 'The connection with SBP timed out');

            throw new Exception($snippet$e->getCode()$e);
        }
    }

    /** * Requests the creation of a new Shopware ID anc account (registration action) * * @deprecated since 5.7.8, will be removed in 5.8 without replacement. * * @param string $shopwareId * @param string $email * @param string $password * @param int $localeId * * @throws Exception * * @return array */
Home | Imprint | This part of the site doesn't use cookies.