Skip to content

Commit c274dff

Browse files
feature #30963 [Serializer] Experimental for ObjectListExtractor (joelwurtz)
This PR was merged into the 4.3-dev branch. Discussion ---------- [Serializer] Experimental for ObjectListExtractor | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30904 | License | MIT | Doc PR | - Related to #30818 I want to mark this class as `@expiremental` until we have the full refactoring done of the Serializer, also this would allow change needed if some behavior was not correctly taken into care in 4.3 Mark also `final` for the default implementation as we don't want that to be extendable and user should use composition over inheritance. Commits ------- b0cdf45 Set object list extractor as expiremental, and use final for default implementation
2 parents 47e571b + b0cdf45 commit c274dff

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Symfony/Component/Serializer/Extractor/ObjectPropertyListExtractor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515

1616
/**
1717
* @author David Maicher <mail@dmaicher.de>
18+
*
19+
* @experimental in 4.3
1820
*/
19-
class ObjectPropertyListExtractor implements ObjectPropertyListExtractorInterface
21+
final class ObjectPropertyListExtractor implements ObjectPropertyListExtractorInterface
2022
{
2123
private $propertyListExtractor;
2224
private $objectClassResolver;

src/Symfony/Component/Serializer/Extractor/ObjectPropertyListExtractorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* @author David Maicher <mail@dmaicher.de>
16+
*
17+
* @experimental in 4.3
1618
*/
1719
interface ObjectPropertyListExtractorInterface
1820
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy