Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77931696
PhabricatorConfigDefaultSource.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 17, 07:26
Size
634 B
Mime Type
text/x-php
Expires
Mon, Aug 19, 07:26 (2 d)
Engine
blob
Format
Raw Data
Handle
19949342
Attached To
rPH Phabricator
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
);
}
}
Event Timeline
Log In to Comment