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 c274dff

Browse filesBrowse 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
Copy full SHA for c274dff

File tree

Expand file treeCollapse file tree

2 files changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Extractor/ObjectPropertyListExtractor.php
+3-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Extractor/ObjectPropertyListExtractorInterface.php
+2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.