protected function XmlEncoderTest::getXmlSource in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Encoder/XmlEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\XmlEncoderTest::getXmlSource()
2 calls to XmlEncoderTest::getXmlSource()
- XmlEncoderTest::testDecode in vendor/
symfony/ serializer/ Tests/ Encoder/ XmlEncoderTest.php - XmlEncoderTest::testEncode in vendor/
symfony/ serializer/ Tests/ Encoder/ XmlEncoderTest.php
File
- vendor/
symfony/ serializer/ Tests/ Encoder/ XmlEncoderTest.php, line 440
Class
Namespace
Symfony\Component\Serializer\Tests\EncoderCode
protected function getXmlSource() {
return '<?xml version="1.0"?>' . "\n" . '<response>' . '<foo>foo</foo>' . '<bar>a</bar><bar>b</bar>' . '<baz><key>val</key><key2>val</key2><item key="A B">bar</item>' . '<item><title>title1</title></item><item><title>title2</title></item>' . '<Barry><FooBar id="1"><Baz>Ed</Baz></FooBar></Barry></baz>' . '<qux>1</qux>' . '</response>' . "\n";
}