DataFixture::getLoadedAt()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace RDV\Bundle\MigrationBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @ORM\Table("rdv_migrations_data")
9
 * @ORM\Entity(repositoryClass="RDV\Bundle\MigrationBundle\Entity\Repository\DataFixtureRepository")
10
 */
11
class DataFixture
12
{
13
    /**
14
     * @var integer
15
     *
16
     * @ORM\Column(name="id", type="integer")
17
     * @ORM\Id
18
     * @ORM\GeneratedValue(strategy="AUTO")
19
     */
20
    protected $id;
21
22
    /**
23
     * @var string
24
     *
25
     * @ORM\Column(name="class_name", type="string", length=255)
26
     */
27
    protected $className;
28
29
    /**
30
     * @var string
31
     *
32
     * @ORM\Column(name="version", type="string", length=255, nullable=true)
33
     */
34
    protected $version;
35
36
    /**
37
     * @var \DateTime
38
     *
39
     * @ORM\Column(name="loaded_at", type="datetime")
40
     */
41
    protected $loadedAt;
42
43
    /**
44
     * @return int
45
     */
46
    public function getId()
47
    {
48
        return $this->id;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getClassName()
55
    {
56
        return $this->className;
57
    }
58
59
    /**
60
     * @param string $className
61
     * @return $this
62
     */
63
    public function setClassName($className)
64
    {
65
        $this->className = $className;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return \DateTime
72
     */
73
    public function getLoadedAt()
74
    {
75
        return $this->loadedAt;
76
    }
77
78
    /**
79
     * @param \DateTime $loadedAt
80
     * @return $this
81
     */
82
    public function setLoadedAt($loadedAt)
83
    {
84
        $this->loadedAt = $loadedAt;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @param string $version
91
     * @return $this
92
     */
93
    public function setVersion($version)
94
    {
95
        $this->version = $version;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @return string
102
     */
103
    public function getVersion()
104
    {
105
        return $this->version;
106
    }
107
}
108