<?php
namespace SpatieIgnitionContracts;
use Throwable;
/**
* Interface used for SolutionProviders.
*/
interface HasSolutionsForThrowable
{
public function canSolve(Throwable $throwable): bool;
/** @return array<int, SpatieIgnitionContractsSolution> */
public function getSolutions(Throwable $throwable): array;
}