FluidXml\FluidXml::namespace_ PHP Метод

namespace_() защищенный Метод

it is shadowed by the __call() method.
protected namespace_ ( $arguments )
    protected function namespace_(...$arguments)
    {
        $namespaces = [];
        if (\is_string($arguments[0])) {
            $args = [$arguments[0], $arguments[1]];
            if (isset($arguments[2])) {
                $args[] = $arguments[2];
            }
            $namespaces[] = new FluidNamespace(...$args);
        } else {
            $namespaces = $arguments;
        }
        foreach ($namespaces as $n) {
            $this->document->namespaces[$n->id()] = $n;
            $this->document->xpath->registerNamespace($n->id(), $n->uri());
        }
        return $this;
    }