public function postPendingEventsTo($plugin)
    {
        foreach ($this->pendingEvents as $eventInfo) {
            list($eventName, $eventParams) = $eventInfo;
            $this->postEvent($eventName, $eventParams, $pending = false, array($plugin));
        }
    }
public function postPendingEventsTo($plugin)
    {
        foreach ($this->pendingEvents as $eventInfo) {
            list($eventName, $eventParams) = $eventInfo;
            $this->postEvent($eventName, $eventParams, $pending = false, array($plugin));
        }
    }
public function postPendingEventsTo ( $ plugin ) { foreach ( $ this -> pendingEvents as $ eventInfo ) { list ( $ eventName , $ eventParams ) = $ eventInfo ; $ this -> postEvent ( $ eventName , $ eventParams , $ pending = false , array ( $ plugin ) ) ; } }
Re-posts all pending events to the given plugin.

@param Plugin $plugin
Re - posts all pending events to the given plugin .