Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/conduit/ManiphestConduitAPIMethod.php
<?php | <?php | ||||
abstract class ManiphestConduitAPIMethod extends ConduitAPIMethod { | abstract class ManiphestConduitAPIMethod extends ConduitAPIMethod { | ||||
final public function getApplication() { | final public function getApplication() { | ||||
return PhabricatorApplication::getByClass( | return PhabricatorApplication::getByClass( | ||||
'PhabricatorManiphestApplication'); | 'PhabricatorManiphestApplication'); | ||||
} | } | ||||
public function defineErrorTypes() { | protected function defineErrorTypes() { | ||||
return array( | return array( | ||||
'ERR-INVALID-PARAMETER' => 'Missing or malformed parameter.', | 'ERR-INVALID-PARAMETER' => 'Missing or malformed parameter.', | ||||
); | ); | ||||
} | } | ||||
protected function buildTaskInfoDictionary(ManiphestTask $task) { | protected function buildTaskInfoDictionary(ManiphestTask $task) { | ||||
$results = $this->buildTaskInfoDictionaries(array($task)); | $results = $this->buildTaskInfoDictionaries(array($task)); | ||||
return idx($results, $task->getPHID()); | return idx($results, $task->getPHID()); | ||||
▲ Show 20 Lines • Show All 304 Lines • Show Last 20 Lines |