3 final class PhabricatorExtendingPhabricatorConfigOptions
4 extends PhabricatorApplicationConfigOptions
{
6 public function getName() {
7 return pht('Extending Phabricator');
10 public function getDescription() {
11 return pht('Make Phabricator even cooler!');
14 public function getIcon() {
18 public function getGroup() {
22 public function getOptions() {
24 $this->newOption('load-libraries', 'list<string>', array())
26 ->setSummary(pht('Paths to additional phutil libraries to load.'))
27 ->addExample('/srv/our-libs/sekrit-phutil', pht('Valid Setting')),
28 $this->newOption('events.listeners', 'list<string>', array())
31 pht('Listeners receive callbacks when interesting things occur.'))
34 'You can respond to various application events by installing '.
35 'listeners, which will receive callbacks when interesting things '.
36 'occur. Specify a list of classes which extend '.
37 'PhabricatorEventListener here.'))
38 ->addExample('MyEventListener', pht('Valid Setting')),