22 lines
392 B
PHP
22 lines
392 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace NunoMaduro\Collision\Contracts;
|
|
|
|
use Spatie\Ignition\Contracts\Solution;
|
|
use Throwable;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
interface SolutionsRepository
|
|
{
|
|
/**
|
|
* Gets the solutions from the given `$throwable`.
|
|
*
|
|
* @return array<int, Solution>
|
|
*/
|
|
public function getFromThrowable(Throwable $throwable): array; // @phpstan-ignore-line
|
|
}
|