Bank::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
* (c) Wessel Strengholt <[email protected]>
4
*
5
* For the full copyright and license information, please view the LICENSE
6
* file that was distributed with this source code.
7
*/
8
9
namespace Usoft\IDealBundle\Model;
10
11
/**
12
 * Class Bank
13
 *
14
 * @author Wessel Strengholt <[email protected]>
15
 */
16
class Bank
17
{
18
    /** @var string */
19
    private $id;
20
21
    /** @var string */
22
    private $name;
23
24
    /**
25
     * @param string $id
26
     * @param string $name
27
     */
28
    public function __construct($id, $name)
29
    {
30
        $this->id = $id;
31
        $this->name = $name;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getId()
38
    {
39
        return $this->id;
40
    }
41
42
    /**
43
     * @return string
44
     */
45
    public function getName()
46
    {
47
        return $this->name;
48
    }
49
}
50