original_string: protected function redefineResponse(&$container)
      {
          // Redefine - response
          $container['response'] = function (Container $container) {
              $headers = new Headers(['Content-Type' => 'application/json;charset=utf-8']);
              $response = new Response(200, $headers);
              return $response->withProtocolVersion($container->get('settings')['httpVersion']);
          };
      }
code: protected function redefineResponse(&$container)
      {
          // Redefine - response
          $container['response'] = function (Container $container) {
              $headers = new Headers(['Content-Type' => 'application/json;charset=utf-8']);
              $response = new Response(200, $headers);
              return $response->withProtocolVersion($container->get('settings')['httpVersion']);
          };
      }
code_tokens: protected function redefineResponse ( & $ container ) { // Redefine - response $ container [ 'response' ] = function ( Container $ container ) { $ headers = new Headers ( [ 'Content-Type' => 'application/json;charset=utf-8' ] ) ; $ response = new Response ( 200 , $ headers ) ; return $ response -> withProtocolVersion ( $ container -> get ( 'settings' ) [ 'httpVersion' ] ) ; } ; }
docstring: Redefine Response object
  
  @param array|ContainerInterface $container Instancia de Container o array de configuración.
  
  @return void
docstring_tokens: Redefine Response object