original_string: protected function _sendResponse($response)
      {
          if (is_string($response)) {
              echo $response;
  
              return;
          }
  
          $emitter = new ResponseEmitter();
          $emitter->emit($response);
      }
code: protected function _sendResponse($response)
      {
          if (is_string($response)) {
              echo $response;
  
              return;
          }
  
          $emitter = new ResponseEmitter();
          $emitter->emit($response);
      }
code_tokens: protected function _sendResponse ( $ response ) { if ( is_string ( $ response ) ) { echo $ response ; return ; } $ emitter = new ResponseEmitter ( ) ; $ emitter -> emit ( $ response ) ; }
docstring: Method that can be easily stubbed in testing.
  
  @param string|\Cake\Http\Response $response Either the message or response object.
  @return void
docstring_tokens: Method that can be easily stubbed in testing .