@@ -502,33 +502,33 @@ given class:
502
502
$ php bin/console debug:serializer 'App\Entity\Book'
503
503
504
504
App\Entity\Book
505
- --------------------
506
-
507
- +---------------- +------------------------------------------------------------+
508
- | Property | Options |
509
- +---------------- +------------------------------------------------------------+
510
- | firstArgument | [ |
511
- | | "groups" => [ |
512
- | | "book:read", |
513
- | | "book:write", |
514
- | | ] |
515
- | | "maxDepth" => 1, |
516
- | | "serializedName" => "first_argument" |
517
- | | "ignore" => false |
518
- | | "normalizationContexts" => [], |
519
- | | "denormalizationContexts" => [] |
520
- | | ] |
521
- | secondArgument | [ |
522
- | | "groups" => [ |
523
- | | "book:read", |
524
- | | ] |
525
- | | "maxDepth" => null, |
526
- | | "serializedName" => null |
527
- | | "ignore" => false |
528
- | | "normalizationContexts" => [], |
529
- | | "denormalizationContexts" => [] |
530
- | | ] |
531
- +---------------- +------------------------------------------------------------+
505
+ ---------------
506
+
507
+ +----------+------------------------------------------------------------+
508
+ | Property | Options |
509
+ +----------+------------------------------------------------------------+
510
+ | name | [ |
511
+ | | "groups" => [ |
512
+ | | "book:read", |
513
+ | | "book:write", |
514
+ | | ] |
515
+ | | "maxDepth" => 1, |
516
+ | | "serializedName" => "book_name" |
517
+ | | "ignore" => false |
518
+ | | "normalizationContexts" => [], |
519
+ | | "denormalizationContexts" => [] |
520
+ | | ] |
521
+ | isbn | [ |
522
+ | | "groups" => [ |
523
+ | | "book:read", |
524
+ | | ] |
525
+ | | "maxDepth" => null, |
526
+ | | "serializedName" => null |
527
+ | | "ignore" => false |
528
+ | | "normalizationContexts" => [], |
529
+ | | "denormalizationContexts" => [] |
530
+ | | ] |
531
+ +----------+------------------------------------------------------------+
532
532
533
533
.. versionadded :: 6.3
534
534
0 commit comments