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 | namespace FileImporter\Interfaces; |
4 | |
5 | use FileImporter\Data\SourceUrl; |
6 | |
7 | /** |
8 | * This interface is used to decide if the current setup is allowed to import files form the |
9 | * given SourceUrl. |
10 | * |
11 | * @license GPL-2.0-or-later |
12 | * @author Addshore |
13 | */ |
14 | interface SourceUrlChecker { |
15 | |
16 | /** |
17 | * @return bool true if valid SourceUrl, false if not |
18 | */ |
19 | public function checkSourceUrl( SourceUrl $sourceUrl ): bool; |
20 | |
21 | } |