Completed
Push — master ( bd4c23...b341c0 )
by Filipe
10:29
created

NameSpaceEntry   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 45
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getNameSpace() 0 4 1
A getPath() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of slick/mvc
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Slick\Mvc\Console\Command\Task\AskForNamespace;
11
12
/**
13
 * NameSpaceEntry
14
 *
15
 * @package Slick\Mvc\Console\Command\Task\AskForNamespace
16
 * @author  Filipe Silva <[email protected]>
17
 */
18
class NameSpaceEntry
19
{
20
21
    /**
22
     * @var string
23
     */
24
    private $nameSpace;
25
26
    /**
27
     * @var string
28
     */
29
    private $path;
30
31
    /**
32
     * Creates a Namespace Entry
33
     *
34
     * @param string $nameSpace
35
     * @param string $path
36
     */
37
    public function __construct($nameSpace, $path)
38
    {
39
        $this->nameSpace = $nameSpace;
40
        $this->path = $path;
41
    }
42
43
    /**
44
     * Get the entry name space
45
     *
46
     * @return string
47
     */
48
    public function getNameSpace()
49
    {
50
        return $this->nameSpace;
51
    }
52
53
    /**
54
     * Get the path for this name space entry
55
     *
56
     * @return string
57
     */
58
    public function getPath()
59
    {
60
        return $this->path;
61
    }
62
}
63