Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109610040
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, Apr 22, 16:09
Size
634 B
Mime Type
text/x-php
Expires
Thu, Apr 24, 16:09 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25665875
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