[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/infrastructure/env/ -> PhabricatorConfigSource.php (source)

   1  <?php
   2  
   3  abstract class PhabricatorConfigSource {
   4  
   5    private $name;
   6  
   7    public function setName($name) {
   8      $this->name = $name;
   9      return $this;
  10    }
  11  
  12    public function getName() {
  13      return $this->name;
  14    }
  15  
  16    abstract public function getKeys(array $keys);
  17    abstract public function getAllKeys();
  18  
  19    public function canWrite() {
  20      return false;
  21    }
  22  
  23    public function setKeys(array $keys) {
  24      throw new Exception('This configuration source does not support writes.');
  25    }
  26  
  27    public function deleteKeys(array $keys) {
  28      throw new Exception('This configuration source does not support writes.');
  29    }
  30  
  31  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1