Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / maniphest / relationship / ManiphestTaskHasMockRelationship.php
blob830da4ba01f44e9ad0019d8d348d70289a6482b2
1 <?php
3 final class ManiphestTaskHasMockRelationship
4 extends ManiphestTaskRelationship {
6 const RELATIONSHIPKEY = 'task.has-mock';
8 public function getEdgeConstant() {
9 return ManiphestTaskHasMockEdgeType::EDGECONST;
12 protected function getActionName() {
13 return pht('Edit Mocks');
16 protected function getActionIcon() {
17 return 'fa-camera-retro';
20 public function canRelateObjects($src, $dst) {
21 return ($dst instanceof PholioMock);
24 public function getDialogTitleText() {
25 return pht('Edit Related Mocks');
28 public function getDialogHeaderText() {
29 return pht('Current Mocks');
32 public function getDialogButtonText() {
33 return pht('Save Related Mocks');
36 protected function newRelationshipSource() {
37 return new PholioMockRelationshipSource();