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 | 44 | public function addSolution($name, $solution, $options = []) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @param $name |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | 47 | public function getSolution($name) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @param $name |
||
| 52 | * |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | 28 | public function getSolutionOptions($name) |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @param mixed $solution |
||
| 62 | * |
||
| 63 | * @return bool |
||
| 64 | */ |
||
| 65 | 44 | protected function supportsSolution($solution) |
|
| 71 | |||
| 72 | /** |
||
| 73 | * default return null to accept mixed type. |
||
| 74 | * |
||
| 75 | * @return null|string supported class name |
||
| 76 | */ |
||
| 77 | 19 | protected function supportedSolutionClass() |
|
| 81 | } |
||
| 82 |