public function setRootNodeName($name)
    {
        @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the context instead.', __METHOD__), E_USER_DEPRECATED);

        $this->defaultContext[self::ROOT_NODE_NAME] = $name;
    }
public function setRootNodeName($name)
    {
        @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the context instead.', __METHOD__), E_USER_DEPRECATED);

        $this->defaultContext[self::ROOT_NODE_NAME] = $name;
    }
public function setRootNodeName ( $ name ) { @ trigger_error ( sprintf ( 'The "%s()" method is deprecated since Symfony 4.2, use the context instead.' , __METHOD__ ) , E_USER_DEPRECATED ) ; $ this -> defaultContext [ self :: ROOT_NODE_NAME ] = $ name ; }
Sets the root node name.

@deprecated since Symfony 4.2

@param string $name Root node name
Sets the root node name .