PHP 8.2.30
Preview: SolutionProviderRepository.php Size: 904 B
/proc/thread-self/root/home/byroehnu/easetack.com/vendor/spatie/error-solutions/src/Contracts/SolutionProviderRepository.php

<?php

namespace Spatie\ErrorSolutions\Contracts;

use Throwable;

interface SolutionProviderRepository
{
    /**
     * @param class-string<HasSolutionsForThrowable>|HasSolutionsForThrowable $solutionProvider
     *
     * @return $this
     */
    public function registerSolutionProvider(string $solutionProvider): self;

    /**
     * @param array<class-string<HasSolutionsForThrowable>|HasSolutionsForThrowable> $solutionProviders
     *
     * @return $this
     */
    public function registerSolutionProviders(array $solutionProviders): self;

    /**
     * @param Throwable $throwable
     *
     * @return array<int, Solution>
     */
    public function getSolutionsForThrowable(Throwable $throwable): array;

    /**
     * @param class-string<Solution> $solutionClass
     *
     * @return null|Solution
     */
    public function getSolutionForClass(string $solutionClass): ?Solution;
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
1.36 KB lrw-rw-rw- 2025-02-14 12:29:50
Edit Download
317 B lrw-rw-rw- 2025-02-14 12:29:50
Edit Download
206 B lrw-rw-rw- 2025-02-14 12:29:50
Edit Download
403 B lrw-rw-rw- 2025-02-14 12:29:50
Edit Download
271 B lrw-rw-rw- 2025-02-14 12:29:50
Edit Download
904 B lrw-rw-rw- 2025-02-14 12:29:50
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).