Passed
Push — master ( 1e00a2...f52220 )
by Angel Fernando Quiroz
07:44 queued 14s
created

XApiActivityProfile::getProfileId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Chamilo\CoreBundle\Entity;
4
5
use Chamilo\CoreBundle\Repository\XApiActivityProfileRepository;
6
use Doctrine\ORM\Mapping as ORM;
7
8
#[ORM\Entity(repositoryClass: XApiActivityProfileRepository::class)]
9
class XApiActivityProfile
10
{
11
    #[ORM\Id]
12
    #[ORM\GeneratedValue]
13
    #[ORM\Column]
14
    private ?int $id = null;
15
16
    #[ORM\Column(length: 255)]
17
    private ?string $profileId = null;
18
19
    #[ORM\Column(length: 255)]
20
    private ?string $activityId = null;
21
22
    #[ORM\Column]
23
    private array $documentData = [];
24
25
    public function getId(): ?int
26
    {
27
        return $this->id;
28
    }
29
30
    public function getProfileId(): ?string
31
    {
32
        return $this->profileId;
33
    }
34
35
    public function setProfileId(string $profileId): static
36
    {
37
        $this->profileId = $profileId;
38
39
        return $this;
40
    }
41
42
    public function getActivityId(): ?string
43
    {
44
        return $this->activityId;
45
    }
46
47
    public function setActivityId(string $activityId): static
48
    {
49
        $this->activityId = $activityId;
50
51
        return $this;
52
    }
53
54
    public function getDocumentData(): array
55
    {
56
        return $this->documentData;
57
    }
58
59
    public function setDocumentData(array $documentData): static
60
    {
61
        $this->documentData = $documentData;
62
63
        return $this;
64
    }
65
}
66