We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
14 | abstract class AbstractResolver implements ResolverInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $solutions = []; |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $solutionOptions = []; |
||
25 | |||
26 | 26 | public function addSolution($name, $solution, $options = []) |
|
39 | |||
40 | /** |
||
41 | * @param $name |
||
42 | * |
||
43 | * @return mixed |
||
44 | */ |
||
45 | 44 | public function getSolution($name) |
|
49 | |||
50 | /** |
||
51 | * @return array |
||
52 | */ |
||
53 | 7 | public function getSolutions() |
|
57 | |||
58 | /** |
||
59 | * @param $name |
||
60 | * |
||
61 | * @return mixed |
||
62 | */ |
||
63 | 31 | public function getSolutionOptions($name) |
|
67 | |||
68 | /** |
||
69 | * @param mixed $solution |
||
70 | * |
||
71 | * @return bool |
||
72 | */ |
||
73 | 26 | protected function supportsSolution($solution) |
|
79 | |||
80 | /** |
||
81 | * default return null to accept mixed type. |
||
82 | * |
||
83 | * @return null|string supported class name |
||
84 | */ |
||
85 | 13 | protected function supportedSolutionClass() |
|
89 | } |
||
90 |