Files
zibo-dashboard/vendor/spatie/error-solutions/src/Contracts/HasSolutionsForThrowable.php
T
2025-03-28 08:52:46 +01:00

17 lines
317 B
PHP

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