Use TemplateEngineAware

This commit is contained in:
2025-10-25 15:40:41 -04:00
parent 519917eb0a
commit 87b1a4fbb6
2 changed files with 4 additions and 2 deletions

View File

@@ -5,8 +5,9 @@ declare(strict_types=1);
namespace Potter\Document;
use \Potter\Renderable\Renderable;
use \Potter\Template\Engine\Aware\TemplateEngineAwareTrait;
abstract class AbstractDocument extends Renderable implements DocumentInterface
{
use TemplateEngineAwareTrait;
}

View File

@@ -5,8 +5,9 @@ declare(strict_types=1);
namespace Potter\Document;
use \Potter\Renderable\RenderableInterface;
use \Potter\Template\Engine\Aware\TemplateEngineAwareInterface;
interface DocumentInterface extends RenderableInterface
interface DocumentInterface extends RenderableInterface, TemplateEngineAwareInterface
{
}