Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class Deferred |
||
6 | { |
||
7 | /** @var string */ |
||
8 | private $resourceClass; |
||
9 | |||
10 | /** @var string */ |
||
11 | private $id; |
||
12 | |||
13 | 2 | public function __construct(string $resourceClass, string $id) |
|
14 | { |
||
15 | 2 | $this->resourceClass = $resourceClass; |
|
16 | 2 | $this->id = $id; |
|
17 | 2 | } |
|
18 | |||
19 | 2 | public function getResourceClass(): string |
|
22 | } |
||
23 | |||
24 | 2 | public function getId(): string |
|
29 |