v7.0.0-beta.1 release
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class LayoutIncludeException extends Exception
|
||||
{
|
||||
private ?string $includePath = null;
|
||||
|
||||
private ?array $includeStack = null;
|
||||
|
||||
public function __construct(
|
||||
string $message,
|
||||
?string $includePath = null,
|
||||
?array $includeStack = null
|
||||
) {
|
||||
$this->includePath = $includePath;
|
||||
$this->includeStack = $includeStack;
|
||||
parent::__construct($message);
|
||||
}
|
||||
|
||||
public function getIncludePath(): ?string
|
||||
{
|
||||
return $this->includePath;
|
||||
}
|
||||
|
||||
public function getIncludeStack(): ?array
|
||||
{
|
||||
return $this->includeStack;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user