1 | <?php |
||
10 | class IncorrectValetDbCredentialsSolutionProvider implements HasSolutionsForThrowable |
||
11 | { |
||
12 | const MYSQL_ACCESS_DENIED_CODE = 1045; |
||
13 | |||
14 | public function canSolve(Throwable $throwable): bool |
||
42 | |||
43 | public function getSolutions(Throwable $throwable): array |
||
47 | |||
48 | protected function envFileExists(): bool |
||
52 | |||
53 | protected function isAccessDeniedCode($code): bool |
||
57 | |||
58 | protected function isValetInstalled(): bool |
||
62 | |||
63 | protected function usingCorrectDefaultCredentials(): bool |
||
67 | } |
||
68 |