23 lines
460 B
PHP
23 lines
460 B
PHP
<?php
|
|
|
|
namespace Facade\Ignition\Exceptions;
|
|
|
|
use Facade\IgnitionContracts\ProvidesSolution;
|
|
use Facade\IgnitionContracts\Solution;
|
|
|
|
class ViewExceptionWithSolution extends ViewException implements ProvidesSolution
|
|
{
|
|
/** @var Solution */
|
|
protected $solution;
|
|
|
|
public function setSolution(Solution $solution)
|
|
{
|
|
$this->solution = $solution;
|
|
}
|
|
|
|
public function getSolution(): Solution
|
|
{
|
|
return $this->solution;
|
|
}
|
|
}
|