setPhpSettings example


        parent::__construct($environment$debug);

        if ($debug) {
            $this->startTime = microtime(true);
        }

        $this->initializeBundles();
        $this->initializeConfig();

        if (!empty($this->config['phpsettings'])) {
            $this->setPhpSettings($this->config['phpsettings']);
        }

        if ($trustedProxies = $this->config['trustedproxies']) {
            SymfonyRequest::setTrustedProxies($trustedProxies$this->config['trustedheaderset']);
        }
    }

    /** * This wraps Shopware:run execution and does not execute * the default dispatching process from symfony. * Therefore: * Arguments are currently ignored. No dispatcher, no response handling. * Shopware instance returns currently the rendered response directly. * * {@inheritdoc} * * @return SymfonyResponse */
Home | Imprint | This part of the site doesn't use cookies.