Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101337739
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
Fri, Feb 7, 21:46
Size
634 B
Mime Type
text/x-php
Expires
Sun, Feb 9, 21:46 (2 d)
Engine
blob
Format
Raw Data
Handle
24077842
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