Current File : /home/tradevaly/public_html/vendor/nunomaduro/collision/src/Contracts/SolutionsRepository.php
<?php

declare(strict_types=1);

namespace NunoMaduro\Collision\Contracts;

use Facade\IgnitionContracts\Solution;
use Throwable;

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