[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/conduit/config/ -> PhabricatorConduitConfigOptions.php (source)

   1  <?php
   2  
   3  final class PhabricatorConduitConfigOptions
   4    extends PhabricatorApplicationConfigOptions {
   5  
   6    public function getName() {
   7      return pht('Conduit');
   8    }
   9  
  10    public function getDescription() {
  11      return pht('Configure conduit.');
  12    }
  13  
  14    public function getOptions() {
  15      return array(
  16        $this->newOption('conduit.servers', 'list<string>', array())
  17          ->setLocked(true)
  18          ->setSummary(pht('Servers that conduit can connect to.'))
  19          ->setDescription(
  20              pht(
  21                "Set an array of servers where conduit can connect to. This is ".
  22                "an advanced option. Don't touch this unless you know what you ".
  23                "are doing."))
  24          ->addExample(
  25            '["http://phabricator2.example.com/", '.
  26            '"http://phabricator3.example.com/]"',
  27             pht('Valid Setting')),
  28      );
  29    }
  30  
  31  }


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