Account::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

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 2
nc 1
nop 0
1
<?php
2
3
namespace Thepixeldeveloper\Mondo\Response\Accounts;
4
5
/**
6
 * Class Account
7
 *
8
 * @package Thepixeldeveloper\Mondo\Response\Accounts
9
 */
10
class Account
11
{
12
    /**
13
     * Account id.
14
     *
15
     * @var string
16
     */
17
    protected $id;
18
19
    /**
20
     * Created date.
21
     *
22
     * @var \DateTime
23
     */
24
    protected $created;
25
26
    /**
27
     * Description.
28
     *
29
     * @var string
30
     */
31
    protected $description;
32
33
    /**
34
     * @return string
35
     */
36
    public function getId()
37
    {
38
        return $this->id;
39
    }
40
41
    /**
42
     * @return \DateTime
43
     */
44
    public function getCreated()
45
    {
46
        return new \DateTime();
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getDescription()
53
    {
54
        return $this->description;
55
    }
56
}
57