parseParameters example

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         $this->loadFromExtensions($xml$root);

        // services         try {
            $this->parseDefinitions($xml$path$defaults$root);
        } finally {
            $this->instanceof = [];
            $this->registerAliasesForSinglyImplementedInterfaces();
        }
    }
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         $this->loadFromExtensions($xml$root);

        // services         try {
            $this->parseDefinitions($xml$path$defaults$root);
        } finally {
            $this->instanceof = [];
            $this->registerAliasesForSinglyImplementedInterfaces();
        }
    }
Home | Imprint | This part of the site doesn't use cookies.