Page MenuHomec4science

PholioMockListController.php
No OneTemporary

File Metadata

Created
Mon, Sep 23, 16:50

PholioMockListController.php

<?php
final class PholioMockListController extends PholioController {
private $queryKey;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->queryKey = idx($data, 'queryKey');
}
public function processRequest() {
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($this->queryKey)
->setSearchEngine(new PholioMockSearchEngine())
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}

Event Timeline