src/SMB/Arrayto/Traits/Xml/Creatable.php
protected function createOutputContents()
    {
        $dom = $this->formatterInstance()
                    ->forge(
                        $this->rows,
                        $this->rootElementName,
                        $this->replaceSpacesByUnderScoresInKeyNames,
                        $this->versionOfXmlDeclaration,
                        $this->encodingOfXmlDeclaration
                    )->toDom();

        $dom->formatOutput = $this->formatOutput;

        return $dom->saveXML();
    }
protected function createOutputContents()
    {
        $dom = $this->formatterInstance()
                    ->forge(
                        $this->rows,
                        $this->rootElementName,
                        $this->replaceSpacesByUnderScoresInKeyNames,
                        $this->versionOfXmlDeclaration,
                        $this->encodingOfXmlDeclaration
                    )->toDom();

        $dom->formatOutput = $this->formatOutput;

        return $dom->saveXML();
    }
protected function createOutputContents ( ) { $ dom = $ this -> formatterInstance ( ) -> forge ( $ this -> rows , $ this -> rootElementName , $ this -> replaceSpacesByUnderScoresInKeyNames , $ this -> versionOfXmlDeclaration , $ this -> encodingOfXmlDeclaration ) -> toDom ( ) ; $ dom -> formatOutput = $ this -> formatOutput ; return $ dom -> saveXML ( ) ; }
Create an output content for XML
@return string
Create an output content for XML