/** * {@inheritdoc} */ public function read($path) { $result = $this->cache->read($path); if ($result !== false && isset($result['contents']) && $result['contents'] !== false) { return $result; } $result = $this->getAdapter()->read($path); if ($result) { $object = $result + compact('path'); $this->cache->updateObject($path, $object, true); } return $result; }