Passed
Push — master ( f7c169...528c62 )
by Angel Fernando Quiroz
08:03 queued 15s
created

XApiActor   A

Complexity

Total Complexity 15

Size/Duplication

Total Lines 116
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 42
c 1
b 0
f 0
dl 0
loc 116
rs 10
wmc 15

15 Methods

Rating   Name   Duplication   Size   Complexity  
A setName() 0 5 1
A getType() 0 3 1
A getName() 0 3 1
A setOpenId() 0 5 1
A getMbox() 0 3 1
A setMboxSha1Sum() 0 5 1
A getIdentifier() 0 3 1
A getAccountHomePage() 0 3 1
A getMboxSha1Sum() 0 3 1
A setAccountName() 0 5 1
A getOpenId() 0 3 1
A setAccountHomePage() 0 5 1
A getAccountName() 0 3 1
A setType() 0 5 1
A setMbox() 0 5 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
declare(strict_types=1);
6
7
namespace Chamilo\CoreBundle\Entity;
8
9
use Chamilo\CoreBundle\Repository\XApiActorRepository;
10
use Doctrine\ORM\Mapping as ORM;
11
12
#[ORM\Entity(repositoryClass: XApiActorRepository::class)]
13
class XApiActor
14
{
15
    #[ORM\Id]
16
    #[ORM\GeneratedValue]
17
    #[ORM\Column]
18
    private ?int $identifier = null;
19
20
    #[ORM\Column(length: 255, nullable: true)]
21
    private ?string $type = null;
22
23
    #[ORM\Column(length: 255, nullable: true)]
24
    private ?string $mbox = null;
25
26
    #[ORM\Column(length: 255, nullable: true)]
27
    private ?string $mboxSha1Sum = null;
28
29
    #[ORM\Column(length: 255, nullable: true)]
30
    private ?string $openId = null;
31
32
    #[ORM\Column(length: 255, nullable: true)]
33
    private ?string $accountName = null;
34
35
    #[ORM\Column(length: 255, nullable: true)]
36
    private ?string $accountHomePage = null;
37
38
    #[ORM\Column(length: 255, nullable: true)]
39
    private ?string $name = null;
40
41
    public function getIdentifier(): ?int
42
    {
43
        return $this->identifier;
44
    }
45
46
    public function getType(): ?string
47
    {
48
        return $this->type;
49
    }
50
51
    public function setType(?string $type): static
52
    {
53
        $this->type = $type;
54
55
        return $this;
56
    }
57
58
    public function getMbox(): ?string
59
    {
60
        return $this->mbox;
61
    }
62
63
    public function setMbox(?string $mbox): static
64
    {
65
        $this->mbox = $mbox;
66
67
        return $this;
68
    }
69
70
    public function getMboxSha1Sum(): ?string
71
    {
72
        return $this->mboxSha1Sum;
73
    }
74
75
    public function setMboxSha1Sum(?string $mboxSha1Sum): static
76
    {
77
        $this->mboxSha1Sum = $mboxSha1Sum;
78
79
        return $this;
80
    }
81
82
    public function getOpenId(): ?string
83
    {
84
        return $this->openId;
85
    }
86
87
    public function setOpenId(?string $openId): static
88
    {
89
        $this->openId = $openId;
90
91
        return $this;
92
    }
93
94
    public function getAccountName(): ?string
95
    {
96
        return $this->accountName;
97
    }
98
99
    public function setAccountName(?string $accountName): static
100
    {
101
        $this->accountName = $accountName;
102
103
        return $this;
104
    }
105
106
    public function getAccountHomePage(): ?string
107
    {
108
        return $this->accountHomePage;
109
    }
110
111
    public function setAccountHomePage(?string $accountHomePage): static
112
    {
113
        $this->accountHomePage = $accountHomePage;
114
115
        return $this;
116
    }
117
118
    public function getName(): ?string
119
    {
120
        return $this->name;
121
    }
122
123
    public function setName(?string $name): static
124
    {
125
        $this->name = $name;
126
127
        return $this;
128
    }
129
}
130