liuggio / statsd-php-client

Statsd (Object Oriented) client library for PHP
MIT License
115 stars 32 forks source link

Simple service #33

Closed dav-m85 closed 9 years ago

dav-m85 commented 9 years ago

As requested in https://github.com/liuggio/StatsDClientBundle/pull/46, moved code here.

At lafourchette, we like when using a service is fast and concise, and container access is reduced to the minimum. That's why we felt right to add a new service which takes the same responsabilities as the factory and the client.

Added the documentation to detail how it works.

Added tests.

liuggio commented 9 years ago

I like this so much what do you think about remove factory example in the readme section https://github.com/liuggio/statsd-php-client#standard-usage and add your service example?

dav-m85 commented 9 years ago

Done :) Thanks for your quick answers !