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