added the new collect flag for the profiler

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes (symfony/symfony#7859)
| Applies to    | 2.3+
| Fixed tickets | n/a