Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class NamingStrategy implements NamingStrategyInterface |
||
10 | { |
||
11 | /** |
||
12 | * Returns the name of the GraphQL interface from a name of a concrete class (when the interface is created |
||
13 | * automatically to manage inheritance) |
||
14 | */ |
||
15 | public function getInterfaceNameFromConcreteName(string $concreteType): string |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Returns the GraphQL output object type name based on the type className and the Type annotation. |
||
22 | */ |
||
23 | public function getOutputTypeName(string $typeClassName, Type $type): string |
||
40 |