1 | <?php |
||
10 | abstract class Utils |
||
11 | { |
||
12 | /** |
||
13 | * Get the GraphQL type name from the PHP class |
||
14 | * @param string $className |
||
15 | * @return string |
||
16 | */ |
||
17 | 12 | public static function getTypeName(string $className): string |
|
23 | |||
24 | /** |
||
25 | * Get the GraphQL type name for an ID type from the PHP class |
||
26 | * @param string $className |
||
27 | * @return string |
||
28 | */ |
||
29 | 4 | public static function getIDTypeName(string $className): string |
|
33 | } |
||
34 |