Changeset View
Changeset View
Standalone View
Standalone View
src/config/source/ArcanistFilesystemConfigurationSource.php
Show All 29 Lines | abstract class ArcanistFilesystemConfigurationSource | ||||
} | } | ||||
abstract public function getFileKindDisplayName(); | abstract public function getFileKindDisplayName(); | ||||
protected function didReadFilesystemValues(array $values) { | protected function didReadFilesystemValues(array $values) { | ||||
return $values; | return $values; | ||||
} | } | ||||
protected function writeToStorage($values) { | |||||
$content = id(new PhutilJSON()) | |||||
->encodeFormatted($values); | |||||
Filesystem::writeFile($this->path, $content); | |||||
} | |||||
} | } | ||||
No newline at end of file | No newline at end of file |