/** * Constructs a ContainerBuilder object. * * @param PluginManagerInterface $service_provider_manager * The service provider manager that provides the service providers, * which define the services used in the container. * @param \DrupalCacheInterface $cache * The cache bin used to store retrieve the container to/from. * To get a cache object use e.g.: $cache = _cache_get_object('cache'); */ public function __construct(PluginManagerInterface $service_provider_manager, DrupalCacheInterface $cache) { $this->cache = $cache; parent::__construct($service_provider_manager); }