Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / phrequent / controller / PhrequentListController.php
blobaf66e708b921eeb3427538808de3b8824ec15e64
1 <?php
3 final class PhrequentListController extends PhrequentController {
5 private $queryKey;
7 public function shouldAllowPublic() {
8 return true;
11 public function willProcessRequest(array $data) {
12 $this->queryKey = idx($data, 'queryKey');
15 public function processRequest() {
16 $controller = id(new PhabricatorApplicationSearchController())
17 ->setQueryKey($this->queryKey)
18 ->setSearchEngine(new PhrequentSearchEngine())
19 ->setNavigation($this->buildSideNavView());
21 return $this->delegateToController($controller);