/** * @param CacheStoreInterface $PrimaryCacheStore * @param VersionService $VersionService * @param string $nodeSchemaVersion * @param bool $nodeCacheKeepLocal */ public function __construct(CacheStoreInterface $PrimaryCacheStore, VersionService $VersionService, $nodeSchemaVersion = null, $nodeCacheKeepLocal = true) { parent::__construct($PrimaryCacheStore, 'nc', $nodeCacheKeepLocal); $this->VersionService = $VersionService; $this->nodeSchemaVersion = $nodeSchemaVersion ?: $this->VersionService->getSystemVersion(); }