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
3namespace FileImporter\Interfaces;
4
5use FileImporter\Data\ImportPlan;
6use MediaWiki\User\User;
7use StatusValue;
8
9/**
10 * This interface is used to execute actions after a successful import.
11 *
12 * @license GPL-2.0-or-later
13 */
14interface PostImportHandler {
15
16    /**
17     * @return StatusValue Might contain one or more warnings. The status's value is always a
18     *  success message, since the import was done before.
19     */
20    public function execute( ImportPlan $importPlan, User $user ): StatusValue;
21
22}