SourceInterface
last analyzed

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 17
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
getName() 0 1 ?
getContents() 0 1 ?
getPages() 0 1 ?
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace iio\libmergepdf\Source;
6
7
use iio\libmergepdf\PagesInterface;
8
9
interface SourceInterface
10
{
11
    /**
12
     * Get name of file or source
13
     */
14
    public function getName(): string;
15
16
    /**
17
     * Get pdf content
18
     */
19
    public function getContents(): string;
20
21
    /**
22
     * Get pages to fetch from source
23
     */
24
    public function getPages(): PagesInterface;
25
}
26