title: get container parameter in my custom classes Symfony2
body: <p>I have the class, it declare as service. When I <code>get()</code> my service I run some method and this method require two params what I want to let user configure in <code>config.yml</code>. How I can get these parameters in this class? Maybe exist some way to do this in my service definition? Or I need extend my class from ContainerAware (if I am right its bad practice)? Thanks!</p>