Skip to content

[Symfony] Deprecate the fluent PHP format for semantic configuration #9467

@stephanvierkant

Description

@stephanvierkant

Feature Request

See symfony/symfony#62092

Diff

-return function (AcmeConfig $config) {
-    $config->color('red');
-}
+return new AcmeConfig([
+    'color' => 'red',
+]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions