public function dump(array $options = [])
    {
        $compiled = false;
        if (isset($options['do_compile']) && true === $options['do_compile']) {
            $this->container->compile();
            $compiled = true;
        }

        $dumper = [
            'parameters'    => $this->dumpContainerParameters($options),
            'services'      => $this->dumpContainerDefinitions($options),
            'aliases'       => $this->dumpContainerAliases($options),
            'is_compiled'   => $compiled,
        ];

        return serialize($dumper);
    }