1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/conpherence/conduit/ConpherenceConduitAPIMethod.php

17 lines
437 B
PHP
Raw Normal View History

<?php
abstract class ConpherenceConduitAPIMethod extends ConduitAPIMethod {
final public function getApplication() {
return PhabricatorApplication::getByClass(
'PhabricatorConpherenceApplication');
}
final protected function getConpherenceURI(ConpherenceThread $conpherence) {
$id = $conpherence->getID();
return PhabricatorEnv::getProductionURI(
$this->getApplication()->getApplicationURI($id));
}
}