makinacorpus / DbToolsBundle

A PHP library to backup, restore and anonymize databases
https://dbtoolsbundle.readthedocs.io
MIT License
181 stars 15 forks source link

Implement a nice reusable timer class #121

Open Lonnytunes opened 8 months ago

Lonnytunes commented 8 months ago

I'm thinking that timer could be reused, it could be its own class instead, which starts when new Timer() and which outputs the result when calling __toString().

_Originally posted by @pounard in https://github.com/makinacorpus/DbToolsBundle/pull/103#discussion_r1523363198_