• File: ViewExceptionWithSolution.php
  • Full Path: /home/masbinta/public_html/core/vendor/facade/ignition/src/Exceptions/ViewExceptionWithSolution.php
  • File size: 460 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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;
    }
}