id = $data['id']; $this->storageTree = id(new PhorgePHPASTParseTree()) ->load($this->id); if (!$this->storageTree) { throw new Exception(pht('No such AST!')); } } protected function getStorageTree() { return $this->storageTree; } protected function buildPHPASTViewPanelResponse($content) { $content = hsprintf( ''. ''. ''. ''. ''. '%s'. '', $content); return id(new AphrontWebpageResponse()) ->setFrameable(true) ->setContent($content); } }