You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
525 B
20 lines
525 B
<?php |
|
|
|
namespace Facade\IgnitionContracts; |
|
|
|
use Throwable; |
|
|
|
interface SolutionProviderRepository |
|
{ |
|
public function registerSolutionProvider(string $solutionProviderClass): self; |
|
|
|
public function registerSolutionProviders(array $solutionProviderClasses): self; |
|
|
|
/** |
|
* @param Throwable $throwable |
|
* @return \Facade\IgnitionContracts\Solution[] |
|
*/ |
|
public function getSolutionsForThrowable(Throwable $throwable): array; |
|
|
|
public function getSolutionForClass(string $solutionClass): ?Solution; |
|
}
|
|
|