title: How to get container instance in sonata Admin class?
body: <p>I need to parse some configurations parameters from my config.yml such as enabled languages. But when i try to do that by using the normal symfony method: <code>$this-&gt;container-&gt;get('my_params');</code> it fails because my admin class extends <code>Sonata\AdminBundle\Admin\Admin</code> class which does not extend the <code>Symfony\Component\DependencyInjection\ContainerAware</code> class.</p>
  
  <p>Please, How to get the container inside the sonata Admin class ? </p>
  
  <p>Now i'm resolving this problem by overriding the sonata Admin Class to make it extends the ContainerAware.</p>