public function setContainer(ContainerInterface $container = null) { parent::setContainer($container); $this->jarves = $this->container->get('jarves'); $this->translator = $this->container->get('jarves.translator'); }