Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
10 / 10
100.00% covered (success)
100.00%
10 / 10
CRAP
100.00% covered (success)
100.00%
1 / 1
ModuleRecord
100.00% covered (success)
100.00%
10 / 10
100.00% covered (success)
100.00%
10 / 10
10
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getId
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getCode
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getName
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getIcon
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getScope
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getTableName
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getStatus
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getCreatedAt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
 getUpdatedAt
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace App\Domain\Module\Entity;
6
7 class ModuleRecord
8{
9    public function __construct(
10        private string $id,
11        private string $code,
12        private string $name,
13        private string $scope,
14        private string $tableName,
15        private string $status,
16        private int $createdAt,
17        private int $updatedAt,
18        private string $icon = 'bi-box-seam'
19    ) {}
20
21    public function getId(): string
22    {
23        return $this->id;
24    }
25
26    public function getCode(): string
27    {
28        return $this->code;
29    }
30
31    public function getName(): string
32    {
33        return $this->name;
34    }
35
36    public function getIcon(): string
37    {
38        return $this->icon;
39    }
40
41    public function getScope(): string
42    {
43        return $this->scope;
44    }
45
46    public function getTableName(): string
47    {
48        return $this->tableName;
49    }
50
51    public function getStatus(): string
52    {
53        return $this->status;
54    }
55
56    public function getCreatedAt(): int
57    {
58        return $this->createdAt;
59    }
60
61    public function getUpdatedAt(): int
62    {
63        return $this->updatedAt;
64    }
65}