| Total Complexity | 4 | 
| Total Lines | 20 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 23 | #[Immutable]  | 
            ||
| 24 | final class TagHelper  | 
            ||
| 25 | { | 
            ||
| 26 |     private function __construct() {} | 
            ||
| 27 | |||
| 28 | public static function toTagRepresentation(AsTagged $tag): array  | 
            ||
| 29 |     { | 
            ||
| 30 |         return [$tag->{$tag::getNameProperty()} => [PropertyHelper::mapProperties($tag, [$tag::getNameProperty()])]]; | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | public static function toTag(AsTagged $tag): array  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | public static function mapTags(AsTagged ...$tags): array  | 
            ||
| 43 | ;  | 
            ||
| 44 | }  | 
            ||
| 46 |