<?php
namespace SpatieLaravelIgnitionExceptions;
use SpatieIgnitionContractsProvidesSolution;
use SpatieIgnitionContractsSolution;
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;
}
}