Create TemplateEngineAwareInterface
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Potter\Template\Engine\Aware;
|
||||||
|
|
||||||
|
use \Potter\Aware\AwareInterface;
|
||||||
|
use \Potter\Template\Engine\TemplateEngineInterface;
|
||||||
|
|
||||||
|
interface TemplateEngineAwareInterface extends AwareInterface
|
||||||
|
{
|
||||||
|
public function getTemplateEngine(): TemplateEngineInterface;
|
||||||
|
public function hasTemplateEngine(): bool;
|
||||||
|
public function withTemplateEngine(): self;
|
||||||
|
public function withoutTemplateEngine(): self;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user