original_string: public static function start_event_redirection() {
          if (self::$eventsink) {
              self::stop_event_redirection();
          }
          self::$eventsink = new phpunit_event_sink();
          return self::$eventsink;
      }
code: public static function start_event_redirection() {
          if (self::$eventsink) {
              self::stop_event_redirection();
          }
          self::$eventsink = new phpunit_event_sink();
          return self::$eventsink;
      }
code_tokens: public static function start_event_redirection ( ) { if ( self :: $ eventsink ) { self :: stop_event_redirection ( ) ; } self :: $ eventsink = new phpunit_event_sink ( ) ; return self :: $ eventsink ; }
docstring: Start event redirection.
  
  @private
  Note: Do not call directly from tests,
  use $sink = $this->redirectEvents() instead.
  
  @return phpunit_event_sink
docstring_tokens: Start event redirection .