Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93184926
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
Tue, Nov 26, 20:42
Size
634 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 20:42 (2 d)
Engine
blob
Format
Raw Data
Handle
22553004
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