Use TemplateEngineAware
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user