public function get($id)
    {
        try {
            return $this->container->get((string) $id);
        } catch (ContainerExceptionInterface $e) {
            throw $e;
        } catch (\Throwable $e) {
            throw new ContainerException(\sprintf('Failed to get service: ' . $id), 0, $e);
        }
    }
public function get($id)
    {
        try {
            return $this->container->get((string) $id);
        } catch (ContainerExceptionInterface $e) {
            throw $e;
        } catch (\Throwable $e) {
            throw new ContainerException(\sprintf('Failed to get service: ' . $id), 0, $e);
        }
    }
{@inheritdoc}