diff --git a/src/TemplateInterface.php b/src/TemplateInterface.php index eeab99f..b74e496 100644 --- a/src/TemplateInterface.php +++ b/src/TemplateInterface.php @@ -22,6 +22,23 @@ interface TemplateInterface { */ public function getSubtemplatePath(): string; + /** + * @param array $aliases + * @return TemplateInterface + */ + public function setSubtemplatePathAlias(array $aliases = []) : TemplateInterface; + + /** + * @return array + */ + public function getSubtemplatePathAlias() : array; + + /** + * @param string $subtemplate + * @return string + */ + public function getFullSubtemplatePath(string $subtemplate) : string; + /** * @param string $point * @param string $string