1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-26 05:29:06 +01:00
phorge-phorge/src/infrastructure/env/PhabricatorConfigSource.php

32 lines
609 B
PHP
Raw Normal View History

<?php
abstract class PhabricatorConfigSource {
private $name;
public function setName($name) {
$this->name = $name;
return $this;
}
public function getName() {
return $this->name;
}
abstract public function getKeys(array $keys);
abstract public function getAllKeys();
public function canWrite() {
return false;
}
public function setKeys(array $keys) {
throw new Exception("This configuration source does not support writes.");
}
public function deleteKeys(array $keys) {
throw new Exception("This configuration source does not support writes.");
}
}