swarrot / SwarrotBundle

A symfony bundle for swarrot integration
MIT License
89 stars 59 forks source link

Decouple the activation of the collector from the debug mode #49

Closed stof closed 9 years ago

stof commented 9 years ago

In some cases, it is useful to enable the collector in non-debug mode or to disable it in debug mode. Providing an explicit configuration (defaulting to the debug mode) allows this.

stof commented 9 years ago

@odolbeau anything needed here ? You merged all the small cleanup I applied, but the change I'm really interested in is actually this one :smile:

odolbeau commented 9 years ago

Seems perfect. :)