cacheParser = $cacheParser; } public function getKey(): string { return $this->cacheParser->key; } public function getPath(): LocalPath { return LocalPath::create($this->cacheParser->cache); } public function getMode(): string { return $this->cacheParser->mode; } public function getSlotId(): string { return $this->cacheParser->page; } public function getResult(): bool { return $this->result; } public function setResult($result): CacheResult { $this->result = $result; return $this; } }