[Console] Add support for Cursor helper in invokable commands#62068
Merged
nicolas-grekas merged 1 commit intosymfony:7.4from Oct 14, 2025
Merged
[Console] Add support for Cursor helper in invokable commands#62068nicolas-grekas merged 1 commit intosymfony:7.4from
Cursor helper in invokable commands#62068nicolas-grekas merged 1 commit intosymfony:7.4from
Conversation
nicolas-grekas
approved these changes
Oct 14, 2025
GromNaN
approved these changes
Oct 14, 2025
chalasr
approved these changes
Oct 14, 2025
Member
|
Thank you @yceruto. |
This was referenced Oct 27, 2025
Merged
Merged
javiereguiluz
added a commit
to symfony/symfony-docs
that referenced
this pull request
Nov 29, 2025
…(mindaugasw) This PR was merged into the 7.4 branch. Discussion ---------- [Console] Update Cursor helper to use injected argument | Q | A | |---|---| | Feature PR | symfony/symfony#62068 | | PR author(s) | `@yceruto` | | Merged in | 7.4 | | Issue | #21502 | Fixes #21502 Update [Cursor helper](https://symfony.com/doc/current/components/console/helpers/cursor.html) docs to use injected Cursor argument. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- dfcde17 [Console] Update Cursor helper to use injected argument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I missed including this helper in #59340 and it's particularly useful for creating dynamic console commands.
Before:
After:
Cheers!