X

Create New Item

File Folder

X

Search Results

File "SolutionsRepository.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/nunomaduro/collision/src/Contracts/SolutionsRepository.php
File size: 374 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

declare(strict_types=1);

namespace NunoMaduro\Collision\Contracts;

use Spatie\ErrorSolutions\Contracts\Solution;
use Throwable;

/**
 * @internal
 */
interface SolutionsRepository
{
    /**
     * Gets the solutions from the given `$throwable`.
     *
     * @return array<int, Solution>
     */
    public function getFromThrowable(Throwable $throwable): array;
}