Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
BoundedContextId
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 getReferenceFor
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2namespace Apie\Core\BoundedContext;
3
4use Apie\Core\Identifiers\Identifier;
5use Apie\Core\Identifiers\IdentifierInterface;
6use ReflectionClass;
7
8/**
9 * @implements IdentifierInterface<BoundedContext>
10 */
11class BoundedContextId extends Identifier implements IdentifierInterface
12{
13    public static function getReferenceFor(): ReflectionClass
14    {
15        return new ReflectionClass(BoundedContext::class);
16    }
17}