Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/*
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; under version 2
8 * of the License (non-upgradable).
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 *
19 * Copyright (c) 2021  (original work) Open Assessment Technologies SA;
20 */
21
22namespace oat\taoQtiItem\model\import\Template;
23
24use oat\taoQtiItem\model\import\ItemImportResult;
25use oat\taoQtiItem\model\import\ItemInterface;
26use oat\taoQtiItem\model\import\TemplateInterface;
27
28interface ItemsTemplateRenderInterface
29{
30    public function processItem(ItemInterface $item, TemplateInterface $xmlQtiTemplate): string;
31
32    public function processResultSet(ItemImportResult $itemResults, TemplateInterface $xmlQtiTemplate): iterable;
33}