| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class GuidGenerator { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var V4GuidGenerator |
||
| 20 | */ |
||
| 21 | private $baseGenerator; |
||
| 22 | |||
| 23 | 3 | public function __construct() { |
|
| 24 | 3 | $this->baseGenerator = new V4GuidGenerator(); |
|
| 25 | 3 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Generates and returns a GUID for a statement in the given Entity. |
||
| 29 | * |
||
| 30 | * @since 1.0 |
||
| 31 | * |
||
| 32 | * @param EntityId $entityId |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | 3 | public function newGuid( EntityId $entityId ) { |
|
| 38 | } |
||
| 39 | |||
| 40 | public function newStatementId( EntityId $entityId ): StatementGuid { |
||
| 45 |