Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/conduit/ConpherenceConduitAPIMethod.php
- This file was moved from src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php.
| <?php | <?php | ||||
| abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod { | abstract class ConpherenceConduitAPIMethod extends ConduitAPIMethod { | ||||
| public function getApplication() { | final public function getApplication() { | ||||
| return PhabricatorApplication::getByClass( | return PhabricatorApplication::getByClass( | ||||
| 'PhabricatorConpherenceApplication'); | 'PhabricatorConpherenceApplication'); | ||||
| } | } | ||||
| final protected function getConpherenceURI(ConpherenceThread $conpherence) { | final protected function getConpherenceURI(ConpherenceThread $conpherence) { | ||||
| $id = $conpherence->getID(); | $id = $conpherence->getID(); | ||||
| return PhabricatorEnv::getProductionURI( | return PhabricatorEnv::getProductionURI( | ||||
| $this->getApplication()->getApplicationURI($id)); | $this->getApplication()->getApplicationURI($id)); | ||||
| } | } | ||||
| } | } | ||||