Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F430286
PhabricatorConfigDefaultSource.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
634 B
Referenced Files
None
Subscribers
None
PhabricatorConfigDefaultSource.php
View Options
<?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
));
}
public
function
loadExternalOptions
()
{
$options
=
PhabricatorApplicationConfigOptions
::
loadAllOptions
(
true
);
$options
=
mpull
(
$options
,
'getDefault'
);
$this
->
setKeys
(
$options
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 10:17 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
60153
Default Alt Text
PhabricatorConfigDefaultSource.php (634 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment