56 $this->_configCacheType = $configCacheType;
57 $this->_configReader = $configReader;
69 if (
null === $this->_integrations) {
70 $integrations = $this->_configCacheType->load(self::CACHE_ID);
71 if ($integrations && is_string($integrations)) {
72 $this->_integrations = $this->serializer->unserialize($integrations);
74 $this->_integrations = $this->_configReader->read();
75 $this->_configCacheType->save(
76 $this->serializer->serialize($this->_integrations),
__construct(TypeIntegration $configCacheType, Reader $configReader, SerializerInterface $serializer=null)