Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/cache/DivinerPublishCache.php
| Show All 39 Lines | public function addAtomPathsToCache($hash, array $paths) { | ||||
| $map[$hash] = $paths; | $map[$hash] = $paths; | ||||
| $this->pathMap = $map; | $this->pathMap = $map; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| /* -( Index )-------------------------------------------------------------- */ | /* -( Index )-------------------------------------------------------------- */ | ||||
| public function getIndex() { | public function getIndex() { | ||||
| if ($this->index === null) { | if ($this->index === null) { | ||||
| $this->index = $this->getCache()->getKey('index', array()); | $this->index = $this->getCache()->getKey('index', array()); | ||||
| } | } | ||||
| return $this->index; | return $this->index; | ||||
| } | } | ||||
| public function writeIndex() { | public function writeIndex() { | ||||
| Show All 18 Lines | |||||