<?php

/**
 * This file contains package_quiqqer_bricks_ajax_contact
 */

QUI::$Ajax->registerFunction(
    'package_quiqqer_tour_ajax_getTour',
    function ($pkg, $index) {
        $Package = QUI::getPackage($pkg);

        return QUI\Tour\TourHandler::getInstance()->getTour($Package, (int)$index);
    },
    array('pkg', 'index')
);
