@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<?php
2
3/**
4 * Details about a routing map match for a path.
5 *
6 * @task info Result Information
7 */
8final class AphrontRoutingResult extends Phobject {
9
10 private $site;
11 private $application;
12 private $controller;
13 private $uriData;
14
15
16/* -( Result Information )------------------------------------------------- */
17
18
19 public function setSite(AphrontSite $site) {
20 $this->site = $site;
21 return $this;
22 }
23
24 /**
25 * @return AphrontSite
26 */
27 public function getSite() {
28 return $this->site;
29 }
30
31 public function setApplication(PhabricatorApplication $application) {
32 $this->application = $application;
33 return $this;
34 }
35
36 /**
37 * @return PhabricatorApplication
38 */
39 public function getApplication() {
40 return $this->application;
41 }
42
43 public function setController(AphrontController $controller) {
44 $this->controller = $controller;
45 return $this;
46 }
47
48 /**
49 * @return AphrontController
50 */
51 public function getController() {
52 return $this->controller;
53 }
54
55 public function setURIData(array $uri_data) {
56 $this->uriData = $uri_data;
57 return $this;
58 }
59
60 /**
61 * @return array<string,string>
62 */
63 public function getURIData() {
64 return $this->uriData;
65 }
66
67}