Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/artifact/HarbormasterFileArtifact.php
<?php | <?php | ||||
final class HarbormasterFileArtifact extends HarbormasterArtifact { | final class HarbormasterFileArtifact extends HarbormasterArtifact { | ||||
const ARTIFACTCONST = 'file'; | const ARTIFACTCONST = 'file'; | ||||
public function getArtifactTypeName() { | public function getArtifactTypeName() { | ||||
return pht('File'); | return pht('File'); | ||||
} | } | ||||
public function getArtifactTypeDescription() { | public function getArtifactTypeDescription() { | ||||
return pht( | return pht( | ||||
'Stores a reference to file data which has been uploaded to '. | 'Stores a reference to file data.'); | ||||
'Phabricator.'); | |||||
} | } | ||||
public function getArtifactParameterSpecification() { | public function getArtifactParameterSpecification() { | ||||
return array( | return array( | ||||
'filePHID' => 'string', | 'filePHID' => 'string', | ||||
); | ); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |