Completed
Push — master ( 31f749...440829 )
by ARCANEDEV
35:42
created

Foundation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 22
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A version() 0 4 1
1
<?php namespace Arcanesoft\Foundation;
2
3
/**
4
 * Class     Foundation
5
 *
6
 * @package  Arcanesoft\Foundation
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class Foundation
10
{
11
    /* ------------------------------------------------------------------------------------------------
12
     |  Constants
13
     | ------------------------------------------------------------------------------------------------
14
     */
15 8
    const VERSION = '0.6.3';
16
17
    /* ------------------------------------------------------------------------------------------------
18 8
     |  Getters & Setters
19
     | ------------------------------------------------------------------------------------------------
20
     */
21
    /**
22
     * Get the package version.
23
     *
24
     * @return string
25
     */
26
    public function version()
27
    {
28
        return self::VERSION;
29 4
    }
30
}
31