-
Notifications
You must be signed in to change notification settings - Fork 126
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
Progress: getCurrent() & getTotal() #192
Comments
everton3x
added a commit
to everton3x/climate
that referenced
this issue
Oct 30, 2024
…value of the progress bar. This commit dds methods in Progress to return the current value and total value of the progress bar. Tests not included because they are simple access methods to private properties of the class. Issue thephpleague#192
everton3x
added a commit
to everton3x/climate
that referenced
this issue
Oct 30, 2024
…value of the progress bar. This commit adds methods in Progress to return the current value and total value of the progress bar. Issue thephpleague#192
Added on PR #206 . |
Fixed in 3.10.0 thanks to @everton3x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to be able to retrieve the current & total values from a progress bar.
My use case is that I define the progress bar in one method in a class, then use it in other methods. I'd like my label to be updated with the count, ie
(23/1176)
without having to track those numbers separately.I'm happy to do this & submit a PR, but I wonder if this package is actively maintained?
The text was updated successfully, but these errors were encountered: