We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
17 | class TypeBuilder |
||
18 | { |
||
19 | private $configResolver; |
||
20 | |||
21 | private $mapping = [ |
||
22 | 'relay-connection' => 'Overblog\\GraphQLBundle\\Relay\\Connection\\ConnectionType', |
||
23 | 'relay-node' => 'Overblog\\GraphQLBundle\\Relay\\Node\\NodeInterfaceType', |
||
24 | 'relay-mutation-input' => 'Overblog\\GraphQLBundle\\Relay\\Mutation\\InputType', |
||
25 | 'relay-mutation-payload' => 'Overblog\\GraphQLBundle\\Relay\\Mutation\\PayloadType', |
||
26 | 'object' => 'GraphQL\\Type\\Definition\\ObjectType', |
||
27 | 'enum' => 'GraphQL\\Type\\Definition\\EnumType', |
||
28 | 'interface' => 'GraphQL\\Type\\Definition\\InterfaceType', |
||
29 | 'union' => 'GraphQL\\Type\\Definition\\UnionType', |
||
30 | 'input-object' => 'GraphQL\\Type\\Definition\\InputObjectType', |
||
31 | ]; |
||
32 | |||
33 | 32 | public function __construct(ResolverInterface $configResolver) |
|
37 | |||
38 | /** |
||
39 | * @param $type |
||
40 | * @param array $config |
||
41 | * |
||
42 | * @return Type |
||
43 | */ |
||
44 | 32 | public function create($type, array $config) |
|
50 | |||
51 | 32 | private function getBaseClassName($type) |
|
59 | } |
||
60 |