8000 [Stopwatch] Add a reset method · Issue #23284 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Stopwatch] Add a reset method #23284

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

Closed
jmgq opened this issue Jun 24, 2017 · 1 comment
Closed

[Stopwatch] Add a reset method #23284

jmgq opened this issue Jun 24, 2017 · 1 comment

Comments

@jmgq
Copy link
Contributor
jmgq commented Jun 24, 2017
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.4

Allow the Stopwatch to be reset to its original state, deleting all the data measured so far, just as an actual stopwatch.

fabpot added a commit that referenced this issue Jul 3, 2017
This PR was merged into the 3.4 branch.

Discussion
----------

[Stopwatch] Add a reset method

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #23284
| License       | MIT
| Doc PR        | symfony/symfony-docs#8082

Let the Stopwatch to be reset to its original state, deleting all the data measured so far. This allows the stopwatch to be reusable, and emulates an actual stopwatch's reset button.

Commits
-------

7cda099 [Stopwatch] Add a reset method
@javiereguiluz
Copy link
Member

Closing it as fixed by #23285.

xabbuh added a commit to symfony/symfony-docs that referenced this issue Jul 7, 2017
This PR was merged into the master branch.

Discussion
----------

[Stopwatch] Document the reset method

Documentation for the new `Stopwatch::reset` method described in symfony/symfony#23284.

Commits
-------

4b21133 [Stopwatch] Document the reset method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0