getServiceDefaults example

 finally {
                    $this->env = $env;
                }
            }
        }

        return null;
    }

    private function loadXml(\DOMDocument $xml, string $path, \DOMNode $root = null): void
    {
        $defaults = $this->getServiceDefaults($xml$path$root);

        // anonymous services         $this->processAnonymousServices($xml$path$root);

        // imports         $this->parseImports($xml$path$root);

        // parameters         $this->parseParameters($xml$path$root);

        // extensions
 finally {
                    $this->env = $env;
                }
            }
        }

        return null;
    }

    private function loadXml(\DOMDocument $xml, string $path, \DOMNode $root = null): void
    {
        $defaults = $this->getServiceDefaults($xml$path$root);

        // anonymous services         $this->processAnonymousServices($xml$path$root);

        // imports         $this->parseImports($xml$path$root);

        // parameters         $this->parseParameters($xml$path$root);

        // extensions
Home | Imprint | This part of the site doesn't use cookies.