original_string: protected function redefineErrorHandlers(&$container)
      {
          // Redefine - errors
          $container['errorHandler'] = BuilderJsonErrorResponses::jsonError();
          $container['phpErrorHandler'] = BuilderJsonErrorResponses::jsonPhpError();
          $container['notFoundHandler'] = BuilderJsonErrorResponses::jsonNotFound();
          $container['notAllowedHandler'] = BuilderJsonErrorResponses::jsonNotAllowed();
      }
code: protected function redefineErrorHandlers(&$container)
      {
          // Redefine - errors
          $container['errorHandler'] = BuilderJsonErrorResponses::jsonError();
          $container['phpErrorHandler'] = BuilderJsonErrorResponses::jsonPhpError();
          $container['notFoundHandler'] = BuilderJsonErrorResponses::jsonNotFound();
          $container['notAllowedHandler'] = BuilderJsonErrorResponses::jsonNotAllowed();
      }
code_tokens: protected function redefineErrorHandlers ( & $ container ) { // Redefine - errors $ container [ 'errorHandler' ] = BuilderJsonErrorResponses :: jsonError ( ) ; $ container [ 'phpErrorHandler' ] = BuilderJsonErrorResponses :: jsonPhpError ( ) ; $ container [ 'notFoundHandler' ] = BuilderJsonErrorResponses :: jsonNotFound ( ) ; $ container [ 'notAllowedHandler' ] = BuilderJsonErrorResponses :: jsonNotAllowed ( ) ; }
docstring: Redefine error handlers
  
  @param array|ContainerInterface $container Instancia de Container o array de configuración.
  
  @return void
docstring_tokens: Redefine error handlers