Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
6 / 6
CRAP
100.00% covered (success)
100.00%
1 / 1
MenuRecord
100.00% covered (success)
100.00%
6 / 6
100.00% covered (success)
100.00%
6 / 6
6
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
 getName
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\Menu\Entity;
6
7 class MenuRecord
8{
9    public function __construct(
10        private string $id,
11        private string $name,
12        private string $status,
13        private int $createdAt,
14        private int $updatedAt
15    ) {}
16
17    public function getId(): string
18    {
19        return $this->id;
20    }
21
22    public function getName(): string
23    {
24        return $this->name;
25    }
26
27    public function getStatus(): string
28    {
29        return $this->status;
30    }
31
32    public function getCreatedAt(): int
33    {
34        return $this->createdAt;
35    }
36
37    public function getUpdatedAt(): int
38    {
39        return $this->updatedAt;
40    }
41}