X

Create New Item

File Folder

X

Search Results

File "HasSolutionsForThrowable.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/error-solutions/src/Contracts/HasSolutionsForThrowable.php
File size: 317 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?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;
}