Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | function graphql( |
||
23 | Schema $schema, |
||
24 | string $source, |
||
25 | $rootValue = null, |
||
26 | $contextValue = null, |
||
27 | $variableValues = null, |
||
28 | $operationName = null, |
||
29 | callable $fieldResolver = null |
||
30 | ): ExecutionResult { |
||
31 | return Execution::execute( |
||
32 | $schema, |
||
33 | parse($source), |
||
34 | $rootValue, |
||
35 | $contextValue, |
||
36 | $variableValues, |
||
37 | $operationName, |
||
38 | $fieldResolver |
||
39 | ); |
||
41 |