public function write($path, FeatureNode $feature) { file_put_contents($this->getCachePathFor($path), serialize($feature)); }