Completed
Push — master ( 46f2ed...29c113 )
by Attila
07:51 queued 31s
created

Manifest::getKind()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 3
c 1
b 0
f 0
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Contains the Module Manifest class.
4
 *
5
 * @copyright   Copyright (c) 2016 Attila Fulop
6
 * @author      Attila Fulop
7
 * @license     MIT
8
 * @since       2016-08-14
9
 *
10
 */
11
12
13
namespace Konekt\Concord\Module;
14
15
class Manifest
16
{
17
    /** @var  string */
18
    protected $name;
19
20
    /** @var  string */
21
    protected $version;
22
23
24
    /**
25
     * Manifest constructor.
26
     *
27
     * @param string $name
28
     * @param string $version
29
     */
30
    public function __construct(string $name, string $version)
31
    {
32
        $this->name    = $name;
33
        $this->version = $version;
34
    }
35
36
    /**
37
     * Returns the module name
38
     *
39
     * @return string
40
     */
41
    public function getName()
42
    {
43
        return $this->name;
44
    }
45
46
    /**
47
     * Returns the module version
48
     *
49
     * @return string
50
     */
51
    public function getVersion()
52
    {
53
        return $this->version;
54
    }
55
}
56