1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php

21 lines
461 B
PHP
Raw Normal View History

<?php
/**
* @group conduit
*/
abstract class ConduitAPI_conpherence_Method
extends ConduitAPIMethod {
public function getApplication() {
return PhabricatorApplication::getByClass(
'PhabricatorApplicationConpherence');
}
final protected function getConpherenceURI(ConpherenceThread $conpherence) {
$id = $conpherence->getID();
return PhabricatorEnv::getProductionURI(
$this->getApplication()->getApplicationURI($id));
}
}