10000 [Stopwatch] Add `getEvents()` to Stopwatch · Issue #37630 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Stopwatch] Add getEvents() to Stopwatch #37630
Closed
@ThomasLandauer

Description

@ThomasLandauer

Description
There is getSectionEvents(), but if you didn't open a Section, there is no way to get all Stopwatch events. Sure you can get each single event with $event = $stopwatch->stop('foo'); – but you need to know the events' names. So what if you have an unknown number of events? Right now, I'm opening a (useless) Section, just to be able to do getSectionEvents().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0