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 FieldDefinition extends BaseFieldDefinition |
||
18 | { |
||
19 | const DEFAULT_COMPLEXITY_FN = '\Overblog\GraphQLBundle\Definition\FieldDefinition::defaultComplexity'; |
||
20 | |||
21 | /** |
||
22 | * @var callable |
||
23 | */ |
||
24 | private $complexityFn; |
||
25 | |||
26 | 38 | public static function getDefinition() |
|
35 | |||
36 | 37 | public static function createMap(array $fields) |
|
48 | |||
49 | /** |
||
50 | * @param array $field |
||
51 | * |
||
52 | * @return FieldDefinition |
||
53 | */ |
||
54 | 37 | public static function create($field) |
|
60 | |||
61 | 37 | protected function __construct(array $config) |
|
67 | |||
68 | /** |
||
69 | * @return callable|\Closure |
||
70 | */ |
||
71 | 10 | public function getComplexityFn() |
|
75 | |||
76 | 12 | public static function defaultComplexity($childrenComplexity) |
|
80 | } |
||
81 |