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

17 lines
433 B
PHP
Raw Normal View History

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