Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Notifier][Mercure] Document options in README file#60259

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
alamirault wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromalamirault:feature/20857-document-mercure-options

Conversation

alamirault
Copy link
Contributor

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?no
IssuesFix #...
LicenseMIT

Document mercure notifier options in component readme (as others)

symfony/symfony-docs#20857

@alamiraultalamiraultforce-pushed thefeature/20857-document-mercure-options branch from9c70369 to2235584CompareMay 9, 2025 09:06
@OskarStarkOskarStark changed the title[Notifier] Document Notifier Mercure options in README file[Notifier][Mercure] Document options in README fileMay 9, 2025
@fabpotfabpot modified the milestones:7.3,7.4May 26, 2025

$chatMessage = new ChatMessage('Contribute To Symfony');

$options = new MercureOptions(

Choose a reason for hiding this comment

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

Given that we decided to not use named arguments in Symfony Docs, could we please add a short comment to explain what does each option mean in this code example? Thanks!

OskarStark reacted with thumbs up emoji

Choose a reason for hiding this comment

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

that's also because MercureOptions is diverging from the other option classes
the norm is to have a constructor with only array $options and to then have fluent setters, see existing classes for inspiration
it'd be nice to check all option classes and add some consistency - looks like it might be needed 🙏

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@javiereguiluzjaviereguiluzjaviereguiluz left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@OskarStarkOskarStarkAwaiting requested review from OskarStarkOskarStark is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
7.4
Development

Successfully merging this pull request may close these issues.

5 participants
@alamirault@javiereguiluz@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp