Changeset View
Changeset View
Standalone View
Standalone View
src/unit/engine/phutil/PhutilTestCase.php
Show First 20 Lines • Show All 791 Lines • ▼ Show 20 Lines | final public function setPaths(array $paths) { | ||||
return $this; | return $this; | ||||
} | } | ||||
final protected function getLink($method) { | final protected function getLink($method) { | ||||
$base_uri = $this | $base_uri = $this | ||||
->getWorkingCopy() | ->getWorkingCopy() | ||||
->getProjectConfig('phabricator.uri'); | ->getProjectConfig('phabricator.uri'); | ||||
$uri = id(new PhutilURI($base_uri)) | $uri = (new PhutilURI($base_uri)) | ||||
->setPath("/diffusion/symbol/{$method}/") | ->setPath("/diffusion/symbol/{$method}/") | ||||
->setQueryParam('context', get_class($this)) | ->setQueryParam('context', get_class($this)) | ||||
->setQueryParam('jump', 'true') | ->setQueryParam('jump', 'true') | ||||
->setQueryParam('lang', 'php'); | ->setQueryParam('lang', 'php'); | ||||
return (string)$uri; | return (string)$uri; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0