Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106379818
HarbormasterConduitAPIMethod.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, Mar 25, 07:19
Size
655 B
Mime Type
text/x-php
Expires
Thu, Mar 27, 07:19 (2 d)
Engine
blob
Format
Raw Data
Handle
25174724
Attached To
rPH Phabricator
HarbormasterConduitAPIMethod.php
View Options
<?php
abstract
class
HarbormasterConduitAPIMethod
extends
ConduitAPIMethod
{
final
public
function
getApplication
()
{
return
PhabricatorApplication
::
getByClass
(
'PhabricatorHarbormasterApplication'
);
}
public
function
getMethodStatus
()
{
return
self
::
METHOD_STATUS_UNSTABLE
;
}
public
function
getMethodStatusDescription
()
{
return
pht
(
'All Harbormaster APIs are new and subject to change.'
);
}
protected
function
returnArtifactList
(
array
$artifacts
)
{
$list
=
array
();
foreach
(
$artifacts
as
$artifact
)
{
$list
[]
=
array
(
'phid'
=>
$artifact
->
getPHID
(),
);
}
return
$list
;
}
}
Event Timeline
Log In to Comment