Skip to content
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

Using tagged_iterators for the markup listener #7403

Open
wants to merge 3 commits into
base: 2.6
Choose a base branch
from

Conversation

mamazu
Copy link
Contributor

@mamazu mamazu commented May 6, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Fixed tickets -
Related issues/PRs #7402
License MIT
Documentation PR -

What's in this PR?

Using the tagged iterator concept to reduce the amount of code that sulu has to create.

Why?

See linked issue.

Example Usage

<argument type="tagged_iterator" tag="testing" />

More info on Symfony Tagged Services

To Do

  • Create a documentation PR
  • Add breaking changes to UPGRADE.md

public const SERVICE_ID = 'sulu_markup.response_listener';

/**
* @deprecated Use the value instead
*/
public const TAG_NAME = 'sulu_markup.parser';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could move this to the ParserInterface as a constant. Could be helpful for people who use PHP to Configure their app?

@mamazu mamazu added DX Affecting the end developer Technical Debt Impacts code quality, no or just small impact on end developers and users labels May 6, 2024
@mamazu
Copy link
Contributor Author

mamazu commented May 7, 2024

@alexander-schranz This should be BC break free now. We can still remove those classes in 3.0 but that's a different MR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant