Differential D14733 Diff 35633 src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
| <?php | <?php | ||||
| final class PhabricatorRepositoryRefCursorPHIDType | final class PhabricatorRepositoryRefCursorPHIDType | ||||
| extends PhabricatorPHIDType { | extends PhabricatorPHIDType { | ||||
| const TYPECONST = 'RREF'; | const TYPECONST = 'RREF'; | ||||
| public function getTypeName() { | public function getTypeName() { | ||||
| return pht('Repository Ref'); | return pht('Repository Ref'); | ||||
| } | } | ||||
| public function getTypeIcon() { | |||||
| return 'fa-code-fork'; | |||||
| } | |||||
| public function newObject() { | public function newObject() { | ||||
| return new PhabricatorRepositoryRefCursor(); | return new PhabricatorRepositoryRefCursor(); | ||||
| } | } | ||||
| public function getPHIDTypeApplicationClass() { | public function getPHIDTypeApplicationClass() { | ||||
| return 'PhabricatorDiffusionApplication'; | return 'PhabricatorDiffusionApplication'; | ||||
| } | } | ||||
| Show All 23 Lines | |||||