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 d5c97a0

Browse filesBrowse files
committed
minor #11424 fix (serializer): invert xml and yaml bloc descriptions (GregoireHebert)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #11424). Discussion ---------- fix (serializer): invert xml and yaml bloc descriptions Commits ------- 508a186 fix (serializer): invert xml and yaml bloc descriptions
2 parents 90797c3 + 508a186 commit d5c97a0
Copy full SHA for d5c97a0

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.