8000 [Serializer] [WIP] Added annotations and MetadataAwareNormalizer by Nyholm · Pull Request #19374 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Serializer] [WIP] Added annotations and MetadataAwareNormalizer #19374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Make constructor parameter optional
  • Loading branch information
Nyholm committed Sep 1, 2018
commit a6838871eab8525b5b7f67a2fd1da86a3ddf2633
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class MetadataAwareNormalizer extends AbstractObjectNormalizer
protected $propertyAccessor;

public function __construct(
ClassMetadataFactoryInterface $classMetadataFactory,
ClassMetadataFactoryInterface $classMetadataFactory = null,
NameConverterInterface $nameConverter = null,
PropertyAccessorInterface $propertyAccessor = null,
PropertyTypeExtractorInterface $propertyTypeExtractor = null)
Expand Down
0