GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

DocumentInterface
last analyzed

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 32
ccs 0
cts 0
cp 0
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
__construct() 0 1 ?
setId() 0 1 ?
getId() 0 1 ?
getInitialId() 0 1 ?
1
<?php
2
3
namespace JamesMoss\Flywheel;
4
5
/**
6
* Interface for documents
7
*/
8
interface DocumentInterface
9
{
10
11
    /**
12
     * Constructor
13
     *
14
     * @param array $data An associative array, each key/value pair will be
15
     *                    turned into properties on this object.
16
     */
17
    public function __construct(array $data = array());
18
19
    /**
20
     * Set the document ID.
21
     *
22
     * @param string $id
23
     */
24
    public function setId($id);
25
26
    /**
27
     * Get the document ID.
28
     *
29
     * @return string
30
     */
31
    public function getId();
32
33
    /**
34
     * Get the initial document ID.
35
     *
36
     * @return string
37
     */
38
    public function getInitialId();
39
}
40