<?php/* * This file is part of Collision. * * (c) Nuno Maduro <enunomaduro@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceNunoMaduro\Collision\Contracts;useFacade\IgnitionContracts\Solution;useThrowable;/** * This is an Collision Solutions Repository contract. * * @author Nuno Maduro <enunomaduro@gmail.com> */interfaceSolutionsRepository{/** * Gets the solutions from the given `$throwable`. * * @return array<int, Solution> */publicfunctiongetFromThrowable(Throwable$throwable):array;}