@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 30 lines 683 B view raw
1<?php 2 3abstract class PhutilRemarkupHyperlinkEngineExtension 4 extends Phobject { 5 6 private $engine; 7 8 final public function getHyperlinkEngineKey() { 9 return $this->getPhobjectClassConstant('LINKENGINEKEY', 32); 10 } 11 12 final public static function getAllLinkEngines() { 13 return id(new PhutilClassMapQuery()) 14 ->setAncestorClass(self::class) 15 ->setUniqueMethod('getHyperlinkEngineKey') 16 ->execute(); 17 } 18 19 final public function setEngine(PhutilRemarkupEngine $engine) { 20 $this->engine = $engine; 21 return $this; 22 } 23 24 final public function getEngine() { 25 return $this->engine; 26 } 27 28 abstract public function processHyperlinks(array $hyperlinks); 29 30}