Completed
Push — master ( 178b4a...1f981d )
by Richard
06:19
created

SourceStatus::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
/******************************************************************************
3
 * An implementation of dicto (scg.unibe.ch/dicto) in and for PHP.
4
 * 
5
 * Copyright (c) 2016 Richard Klees <[email protected]>
6
 *
7
 * This software is licensed under The MIT License. You should have received 
8
 * a copy of the licence along with the code.
9
 */
10
11
namespace Lechimp\Dicto\App;
12
13
/**
14
 * Get the current state of the sourcecode.
15
 */
16
interface SourceStatus {
17
    /**
18
     * Get the commit hash of the source.
19
     *
20
     * @return  string
21
     */
22
    public function commit_hash();
23
}
24