This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 0c7df5898f feature #12666 [Hackday][Stopwatch] added __toString on StopwatchEvent (damienalexandre)
This PR was merged into the 2.7 branch.

Discussion
----------

[Hackday][Stopwatch] added __toString on StopwatchEvent

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #12152
| License       | MIT
| Doc PR        | no

This allow to just print the events in a log or something.

```php
$stopwatch = new Stopwatch();
$event = $stopwatch->start('foo', 'cat');

echo $event; // cat: 0.00 MiB - 0 ms
```

Commits
-------

0b88a23 [Stopwatch] added __toString on StopwatchEvent
2014-11-29 14:10:59 +01:00
..
BrowserKit Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
ClassLoader Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Config Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Console Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
CssSelector Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Debug Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
DependencyInjection Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
DomCrawler Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
EventDispatcher Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
ExpressionLanguage Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Filesystem Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Finder Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Form Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
HttpFoundation Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
HttpKernel Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Intl Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Locale Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
OptionsResolver Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Process minor #12696 [2.7][Process] Add deprecation message for component (romainneutron) 2014-11-29 13:59:17 +01:00
PropertyAccess Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Routing Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Security Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Serializer Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Stopwatch feature #12666 [Hackday][Stopwatch] added __toString on StopwatchEvent (damienalexandre) 2014-11-29 14:10:59 +01:00
Templating Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Translation Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Validator Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
VarDumper Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00
Yaml Adjust error_reporting to allow deprecation messages for 3.0 2014-11-29 13:40:43 +01:00