Constructs a CacheContextsManager object.
\Symfony\Component\DependencyInjection\ContainerInterface $container: The current service container.
string[] $contexts: An array of the available cache context IDs.
public function __construct(ContainerInterface $container, array $contexts) { $this->container = $container; $this->contexts = $contexts; }