/home/kueuepay/public_html/vendor/spatie/ignition/src/Contracts/HasSolutionsForThrowable.php
<?php

namespace Spatie\Ignition\Contracts;

use Throwable;

/**
 * Interface used for SolutionProviders.
 */
interface HasSolutionsForThrowable
{
    public function canSolve(Throwable $throwable): bool;

    /** @return array<int, \Spatie\Ignition\Contracts\Solution> */
    public function getSolutions(Throwable $throwable): array;
}
Examples

Examples

For code examples and implementation guides, please refer to the “Examples” section on our developer portal. Go to GitHub Repository