Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 508a186

Browse filesBrowse files
GregoireHebertjaviereguiluz
authored andcommitted
fix (serializer): invert xml and yaml bloc descriptions
1 parent 90797c3 commit 508a186
Copy full SHA for 508a186

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,14 @@ for each format:
258258

259259
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
260260

261-
* XML files::
261+
* YAML files::
262262

263263
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
264264
use Symfony\Component\Serializer\Mapping\Loader\YamlFileLoader;
265265

266266
$classMetadataFactory = new ClassMetadataFactory(new YamlFileLoader('/path/to/your/definition.yml'));
267267

268-
* YAML files::
268+
* XML files::
269269

270270
use Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactory;
271271
use Symfony\Component\Serializer\Mapping\Loader\XmlFileLoader;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.