| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public function __construct(ApiResourceClassMetadata $metadata, string $resourceUrl, $identifierValue) |
||
| 35 | { |
||
| 36 | $this->metadata = $metadata; |
||
| 37 | $this->resourceUrl = $resourceUrl; |
||
| 38 | if ($identifierValue instanceof ValueObjectInterface) { |
||
| 39 | $this->identifierValue = (string) $identifierValue->toNative(); |
||
| 40 | } else { |
||
| 41 | $this->identifierValue = (string) $identifierValue; |
||
| 42 | } |
||
| 69 |