Implementation of Symfony 2.2's stopwatch component