Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / pholio / controller / PholioController.php
blob99a73e893395d774153cc9044003abfeea8af078
1 <?php
3 abstract class PholioController extends PhabricatorController {
5 public function buildApplicationMenu() {
6 return $this->newApplicationMenu()
7 ->setSearchEngine(new PholioMockSearchEngine());
10 protected function buildApplicationCrumbs() {
11 $crumbs = parent::buildApplicationCrumbs();
13 $crumbs->addAction(
14 id(new PHUIListItemView())
15 ->setName(pht('Create Mock'))
16 ->setHref($this->getApplicationURI('create/'))
17 ->setIcon('fa-plus-square'));
19 return $crumbs;