public function XmlEncoder::setRootNodeName in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Encoder/XmlEncoder.php \Symfony\Component\Serializer\Encoder\XmlEncoder::setRootNodeName()
Sets the root node name.
Parameters
string $name root node name:
File
- vendor/
symfony/ serializer/ Encoder/ XmlEncoder.php, line 157
Class
- XmlEncoder
- Encodes XML data.
Namespace
Symfony\Component\Serializer\EncoderCode
public function setRootNodeName($name) {
$this->rootNodeName = $name;
}