/
home
/
maktab
/
server
/
vendor
/
facade
/
ignition
/
src
/
SolutionProviders
/
File Upload :
llllll
Current File: //home/maktab/server/vendor/facade/ignition/src/SolutionProviders/MissingAppKeySolutionProvider.php
<?php namespace Facade\Ignition\SolutionProviders; use Facade\Ignition\Solutions\GenerateAppKeySolution; use Facade\IgnitionContracts\HasSolutionsForThrowable; use RuntimeException; use Throwable; class MissingAppKeySolutionProvider implements HasSolutionsForThrowable { public function canSolve(Throwable $throwable): bool { if (! $throwable instanceof RuntimeException) { return false; } return $throwable->getMessage() === 'No application encryption key has been specified.'; } public function getSolutions(Throwable $throwable): array { return [new GenerateAppKeySolution()]; } }
Copyright ©2k19 -
Hexid
|
Tex7ure