-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Add progress indicator helper #12119
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
Changes from 1 commit
abacef0
2480070
f1144a3
e9c18ab
faab1d4
01b8e1a
7bcabb4
12bf736
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,8 @@ public function setMessage($message) | |
* Gets the current indicator message. | ||
* | ||
* @return string|null | ||
* | ||
* @internal for PHP 5.3 compatibility | ||
*/ | ||
public function getMessage() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would remove this accessor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this cause issues in 5.3 (https://github.com/symfony/symfony/pull/12119/files#diff-c69956b5e0c001490b2ebfa0b9e2db1aR290) or will this only be in 3.0? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we don't need 5.3 support, I should remove the other public getters as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we were to merge this in 2.8 (we should act fast now), PHP 5.3.9 is still supported. If not, it's going to be merged in 3.1. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will leave the getters for now to try and get this into 2.8. If it doesn't make it, I will remove for 3.1. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if it is public only for PHP 5.3 compat, it should be marked as internal though (explaining that it is there only for compat reasons), as we do elsewhere |
||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is also internal, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just
getMessage
- I will mark as such. Unless you want me to remove setMessage and just useadvance
to set a new message.