4 * Configuration source which proxies some other configuration source.
6 abstract class PhabricatorConfigProxySource
7 extends PhabricatorConfigSource
{
11 final protected function getSource() {
13 throw new Exception(pht('No configuration source set!'));
18 final protected function setSource(PhabricatorConfigSource
$source) {
19 $this->source
= $source;
23 public function getAllKeys() {
24 return $this->getSource()->getAllKeys();
27 public function getKeys(array $keys) {
28 return $this->getSource()->getKeys($keys);
31 public function canWrite() {
32 return $this->getSource()->canWrite();
35 public function setKeys(array $keys) {
36 $this->getSource()->setKeys($keys);
40 public function deleteKeys(array $keys) {
41 $this->getSource()->deleteKeys($keys);
45 public function setName($name) {
46 $this->getSource()->setName($name);
50 public function getName() {
51 return $this->getSource()->getName();