Completed
Push — develop ( da2907...7e8dc0 )
by Axel
10s
created

BetaTesterModel::getAccount()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Developtech\AgilityBundle\Model;
4
5
use Symfony\Component\Security\Core\User\UserInterface;
6
7
abstract class BetaTesterModel {
8
    /** @var UserInterface **/
9
    protected $account;
10
    /** @var \DateTime **/
11
    protected $createdAt;
12
    /** @var \DateTime **/
13
    protected $updatedAt;
14
15
    /**
16
     * @param UserInterface $account
17
     * @return BetaTesterModel
18
     */
19 1
    public function setAccount(UserInterface $account) {
20 1
        $this->account = $account;
21
22 1
        return $this;
23 1
    }
24
25
    /**
26
     * @return UserInterface
27
     */
28 1
    public function getAccount() {
29 1
        return $this->account;
30
    }
31
32
    /**
33
     * @param \DateTime $createdAt
34
     * @return BetaTesterModel
35
     */
36 1
    public function setCreatedAt(\DateTime $createdAt) {
37 1
        $this->createdAt = $createdAt;
38
39 1
        return $this;
40 1
    }
41
42
    /**
43
     * @return \DateTime
44
     */
45 1
    public function getCreatedAt() {
46 1
        return $this->createdAt;
47
    }
48
49
    /**
50
     * @param \DateTime $updatedAt
51
     * @return BetaTesterModel
52
     */
53 1
    public function setUpdatedAt(\DateTime $updatedAt) {
54 1
        $this->updatedAt = $updatedAt;
55
56 1
        return $this;
57 1
    }
58
59
    /**
60
     * @return \DateTime
61
     */
62 1
    public function getUpdatedAt() {
63 1
        return $this->updatedAt;
64
    }
65
}
66