| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class Jump extends Response |
||
|
1 ignored issue
–
show
|
|||
| 18 | { |
||
| 19 | protected $contentType = 'text/html'; |
||
| 20 | |||
| 21 | protected $view; |
||
| 22 | |||
| 23 | public function __construct(View $view, $data = '', int $code = 200) |
||
| 24 | { |
||
| 25 | parent::__construct($data, $code); |
||
| 26 | $this->view = $view; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * 处理数据 |
||
| 31 | * @access protected |
||
| 32 | * @param mixed $data 要处理的数据 |
||
| 33 | * @return string |
||
| 34 | * @throws \Exception |
||
| 35 | */ |
||
| 36 | protected function output($data): string |
||
| 40 | } |
||
| 41 | } |
||
| 42 |