mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 18:52:42 +01:00
17 lines
437 B
PHP
17 lines
437 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Configuration source which reads from defaults defined in the authoritative
|
||
|
* configuration definitions.
|
||
|
*/
|
||
|
final class PhabricatorConfigDefaultSource
|
||
|
extends PhabricatorConfigProxySource {
|
||
|
|
||
|
public function __construct() {
|
||
|
$options = PhabricatorApplicationConfigOptions::loadAllOptions();
|
||
|
$options = mpull($options, 'getDefault');
|
||
|
$this->setSource(new PhabricatorConfigDictionarySource($options));
|
||
|
}
|
||
|
|
||
|
}
|