key = idx($data, 'key', 'all'); } public function processRequest() { $request = $this->getRequest(); $controller = id(new PhabricatorApplicationSearchController()) ->setQueryKey($this->key) ->setSearchEngine(new DivinerAtomSearchEngine()) ->setNavigation($this->buildSideNavView()); return $this->delegateToController($controller); } }