public static function start_event_redirection() {
        if (self::$eventsink) {
            self::stop_event_redirection();
        }
        self::$eventsink = new phpunit_event_sink();
        return self::$eventsink;
    }
public static function start_event_redirection() {
        if (self::$eventsink) {
            self::stop_event_redirection();
        }
        self::$eventsink = new phpunit_event_sink();
        return self::$eventsink;
    }
public static function start_event_redirection ( ) { if ( self :: $ eventsink ) { self :: stop_event_redirection ( ) ; } self :: $ eventsink = new phpunit_event_sink ( ) ; return self :: $ eventsink ; }
Start event redirection.

@private
Note: Do not call directly from tests,
use $sink = $this->redirectEvents() instead.

@return phpunit_event_sink
Start event redirection .