Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/edge/PhabricatorFileHasObjectEdgeType.php
| <?php | <?php | ||||
| final class PhabricatorFileHasObjectEdgeType extends PhabricatorEdgeType { | final class PhabricatorFileHasObjectEdgeType extends PhabricatorEdgeType { | ||||
| const EDGECONST = 26; | const EDGECONST = 26; | ||||
| public function getInverseEdgeConstant() { | public function getInverseEdgeConstant() { | ||||
| return PhabricatorObjectHasFileEdgeType::EDGECONST; | return PhabricatorObjectHasFileEdgeType::EDGECONST; | ||||
| } | } | ||||
| public function shouldWriteInverseTransactions() { | public function shouldWriteInverseTransactions() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function getConduitKey() { | |||||
| return 'file.attached-objects'; | |||||
| } | |||||
| public function getConduitName() { | |||||
| return pht('File Has Object'); | |||||
| } | |||||
| public function getConduitDescription() { | |||||
| return pht('The source file is attached to the destination object.'); | |||||
| } | |||||
| } | } | ||||