Added the support for generating docs from template doc
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Documents\Exceptions;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class UnresolvedTokensException extends RuntimeException
|
||||
{
|
||||
/** @var array<int,string> */
|
||||
public array $unresolved;
|
||||
|
||||
/**
|
||||
* @param array<int,string> $unresolved
|
||||
*/
|
||||
public function __construct(array $unresolved, string $message = 'Unresolved tokens remain in template.')
|
||||
{
|
||||
parent::__construct($message);
|
||||
$this->unresolved = $unresolved;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user