1 | <?php |
||
10 | class DefaultDbNameSolutionProvider implements HasSolutionsForThrowable |
||
11 | { |
||
12 | const MYSQL_UNKNOWN_DATABASE_CODE = 1049; |
||
13 | |||
14 | public function canSolve(Throwable $throwable): bool |
||
29 | |||
30 | public function getSolutions(Throwable $throwable): array |
||
34 | |||
35 | protected function canTryDatabaseConnection() |
||
39 | |||
40 | protected function isUnknownDatabaseCode($code): bool |
||
44 | } |
||
45 |