/** * */ protected function getClientResponse() { try { $response = self::$bxClient->getResponse(); $output = self::$bxClient->getDebugOutput(); if ($output != '' && !$this->bxDebug) { $this->response->appendBody($output); $this->bxDebug = true; } return $response; } catch (\Exception $e) { throw $e; } }
/** * @param $file */ public function printFile($file) { $path = $this->getPath($file); $this->_response->appendBody(file_get_contents($path)); }
/** * {@inheritdoc} */ public function appendBody($value) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'appendBody'); if (!$pluginInfo) { return parent::appendBody($value); } else { return $this->___callPlugins('appendBody', func_get_args(), $pluginInfo); } }