Trash the class Container, replace with ContainerInitializer and directly use Pimple as container.