[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/repository/ -> PhabricatorRepositoryConfigOptions.php (source)

   1  <?php
   2  
   3  final class PhabricatorRepositoryConfigOptions
   4    extends PhabricatorApplicationConfigOptions {
   5  
   6    public function getName() {
   7      return pht('Repositories');
   8    }
   9  
  10    public function getDescription() {
  11      return pht('Configure repositories.');
  12    }
  13  
  14    public function getOptions() {
  15      return array(
  16        $this->newOption('repository.default-local-path', 'string', '/var/repo/')
  17          ->setLocked(true)
  18          ->setSummary(
  19            pht('Default location to store local copies of repositories.'))
  20          ->setDescription(
  21            pht(
  22              'The default location in which to store working copies and other '.
  23              'data about repositories. Phabricator will control and manage '.
  24              'data here, so you should **not** choose an existing directory '.
  25              'full of data you care about.')),
  26      );
  27    }
  28  
  29  }


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