We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
12 | class TypeResolver extends AbstractResolver |
||
13 | { |
||
14 | private $cache = []; |
||
15 | |||
16 | /** @var string|null */ |
||
17 | private $currentSchemaName; |
||
18 | |||
19 | /** @var EventDispatcherInterface */ |
||
20 | private $dispatcher; |
||
21 | |||
22 | 93 | public function setDispatcher(EventDispatcherInterface $dispatcher): void |
|
26 | |||
27 | 84 | public function setCurrentSchemaName(?string $currentSchemaName): void |
|
31 | |||
32 | 97 | protected function onLoadSolution($solution): void |
|
38 | |||
39 | /** |
||
40 | * @param string $alias |
||
41 | * |
||
42 | * @return Type |
||
43 | */ |
||
44 | 98 | public function resolve($alias): ?Type |
|
57 | |||
58 | 98 | private function string2Type($alias) |
|
66 | |||
67 | 97 | private function baseType($alias) |
|
83 | |||
84 | 98 | private function wrapTypeIfNeeded($alias) |
|
97 | |||
98 | 98 | private function hasNeedListOfWrapper($alias) |
|
113 | |||
114 | /** |
||
115 | * @param string $alias |
||
116 | * @param \Throwable $errorOrException |
||
117 | * |
||
118 | * @return \RuntimeException |
||
119 | */ |
||
120 | 2 | private static function createTypeLoadingException(string $alias, \Throwable $errorOrException): \RuntimeException |
|
131 | |||
132 | 99 | protected function supportedSolutionClass(): ?string |
|
136 | } |
||
137 |