Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
50.00% covered (danger)
50.00%
1 / 2
50.00% covered (danger)
50.00%
1 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
OrderLine
50.00% covered (danger)
50.00%
1 / 2
50.00% covered (danger)
50.00%
1 / 2
2.50
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getId
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\Fixtures\Entities;
3
4use Apie\Core\Entities\EntityInterface;
5use Apie\Fixtures\Identifiers\OrderLineIdentifier;
6
7class OrderLine implements EntityInterface
8{
9    public function __construct(private OrderLineIdentifier $id)
10    {
11    }
12
13    public function getId(): OrderLineIdentifier
14    {
15        return $this->id;
16    }
17}