private function registerCache(ContainerBuilder $container): self
    {
        $container->register('contentful.delivery.cache_clearer', CacheClearer::class)
            ->setAbstract(\true)
        ;

        $container->register('contentful.delivery.cache_warmer', CacheWarmer::class)
            ->setAbstract(\true)
        ;

        return $this;
    }
private function registerCache(ContainerBuilder $container): self
    {
        $container->register('contentful.delivery.cache_clearer', CacheClearer::class)
            ->setAbstract(\true)
        ;

        $container->register('contentful.delivery.cache_warmer', CacheWarmer::class)
            ->setAbstract(\true)
        ;

        return $this;
    }
private function registerCache ( ContainerBuilder $ container ) : self { $ container -> register ( 'contentful.delivery.cache_clearer' , CacheClearer :: class ) -> setAbstract ( \ true ) ; $ container -> register ( 'contentful.delivery.cache_warmer' , CacheWarmer :: class ) -> setAbstract ( \ true ) ; return $ this ; }
Registers two base cache handlers, one for warming up and one for clearing.
They are defined as abstract as a "concrete" implementation will be defined
for every configured client.

@param ContainerBuilder $container

@return ContentfulExtension
Registers two base cache handlers one for warming up and one for clearing . They are defined as abstract as a concrete implementation will be defined for every configured client .