コード例 #1
0
ファイル: App.php プロジェクト: pagon/core
 /**
  * Output the response
  *
  * @param int    $status
  * @param string $body
  * @throws Exception\Stop
  */
 public function halt($status, $body = '')
 {
     $this->output->status($status)->body($body);
     throw new Exception\Stop();
 }