| Total Complexity | 7 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 12 | final class AttributeFactory | ||
| 13 | { | ||
| 14 | |||
| 15 | 334 | public static function create(string $name, mixed $value = null): AttributeInterface | |
| 18 | } | ||
| 19 | |||
| 20 | /** | ||
| 21 | * @param array $attributesKeyValue | ||
| 22 | * @return AttributeInterface[] | ||
| 23 | */ | ||
| 24 | 304 | public static function createFromArray(array $attributesKeyValue): array | |
| 38 | } | ||
| 39 | |||
| 40 | /** | ||
| 41 | * @param string $name | ||
| 42 | * @return AttributeInterface | ||
| 43 | */ | ||
| 44 | 334 | private static function getClass(string $name): AttributeInterface | |
| 56 |