protected static final function restore_unknown(array $data, array $logextra) {
        $classname = '\core\event\unknown_logged';

        /** @var unknown_logged $event */
        $event = new $classname();
        $event->restored = true;
        $event->triggered = true;
        $event->dispatched = true;
        $event->data = $data;
        $event->logextra = $logextra;

        return $event;
    }
protected static final function restore_unknown(array $data, array $logextra) {
        $classname = '\core\event\unknown_logged';

        /** @var unknown_logged $event */
        $event = new $classname();
        $event->restored = true;
        $event->triggered = true;
        $event->dispatched = true;
        $event->data = $data;
        $event->logextra = $logextra;

        return $event;
    }
protected static final function restore_unknown ( array $ data , array $ logextra ) { $ classname = '\core\event\unknown_logged' ; /** @var unknown_logged $event */ $ event = new $ classname ( ) ; $ event -> restored = true ; $ event -> triggered = true ; $ event -> dispatched = true ; $ event -> data = $ data ; $ event -> logextra = $ logextra ; return $ event ; }
Restore unknown event.

@param array $data
@param array $logextra
@return unknown_logged
Restore unknown event .