| Total Complexity | 7 |
| Total Lines | 69 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Signature |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | * |
||
| 19 | * @ORM\Column(type="integer") |
||
| 20 | * @ORM\Id |
||
| 21 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 22 | */ |
||
| 23 | private $id; |
||
| 24 | /** |
||
| 25 | * @var Registrant |
||
| 26 | * |
||
| 27 | * @ORM\OneToOne(targetEntity="Chamilo\PluginBundle\Zoom\Registrant", inversedBy="signature") |
||
| 28 | * @ORM\JoinColumn(name="registrant_id", referencedColumnName="id") |
||
| 29 | */ |
||
| 30 | private $registrant; |
||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | * |
||
| 34 | * @ORM\Column(name="signature", type="text") |
||
| 35 | */ |
||
| 36 | private $file; |
||
| 37 | /** |
||
| 38 | * @var DateTime |
||
| 39 | * |
||
| 40 | * @ORM\Column(name="registered_at", type="datetime") |
||
| 41 | */ |
||
| 42 | private $registeredAt; |
||
| 43 | |||
| 44 | public function getId(): int |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getRegistrant(): Registrant |
||
| 50 | { |
||
| 51 | return $this->registrant; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function setRegistrant(Registrant $registrant): Signature |
||
| 55 | { |
||
| 56 | $this->registrant = $registrant; |
||
| 57 | |||
| 58 | return $this; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function getFile(): string |
||
| 62 | { |
||
| 63 | return $this->file; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function setFile(string $file): Signature |
||
| 67 | { |
||
| 68 | $this->file = $file; |
||
| 69 | |||
| 70 | return $this; |
||
| 71 | } |
||
| 72 | |||
| 73 | public function getRegisteredAt(): DateTime |
||
| 74 | { |
||
| 75 | return $this->registeredAt; |
||
| 76 | } |
||
| 77 | |||
| 78 | public function setRegisteredAt(DateTime $registeredAt): Signature |
||
| 83 | } |
||
| 84 | } |
||
| 85 |