request = $request; return $this; } public function setPaths(array $paths) { $this->paths = $paths; return $this; } public function render() { $rows = array(); foreach ($this->paths as $path) { $rows[] = array( phutil_escape_html($path->getPath()), // TODO: link // TODO: etc etc ); } $view = new AphrontTableView($rows); $view->setHeaders( array( 'Path', )); return $view->render(); } }