/home/kueuepay/www/vendor/spatie/laravel-ignition/src/Exceptions/ViewExceptionWithSolution.php
<?php

namespace Spatie\LaravelIgnition\Exceptions;

use Spatie\Ignition\Contracts\ProvidesSolution;
use Spatie\Ignition\Contracts\Solution;

class ViewExceptionWithSolution extends ViewException implements ProvidesSolution
{
    protected Solution $solution;

    public function setSolution(Solution $solution): void
    {
        $this->solution = $solution;
    }

    public function getSolution(): Solution
    {
        return $this->solution;
    }
}
Examples

Examples

For code examples and implementation guides, please refer to the “Examples” section on our developer portal. Go to GitHub Repository