Implemented NameSpacePathMap as attribut

This commit is contained in:
Kevin Frantz
2019-01-06 15:15:47 +01:00
parent 77822b8e56
commit c7c4e1c16e
8 changed files with 37 additions and 45 deletions

View File

@@ -115,4 +115,14 @@ final class TemplatePathInformation implements TemplatePathInformationInterface
$this->type = $type;
$this->init();
}
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathInformationInterface::getType()
*/
public function getType(): string
{
return $this->type;
}
}

View File

@@ -2,6 +2,8 @@
namespace App\Domain\TemplateManagement;
use App\DBAL\Types\RESTResponseType;
/**
* Manages all informations which are needed to process templates.
*
@@ -18,4 +20,11 @@ interface TemplatePathInformationInterface extends ReloadTypeInterface
* @return string a template without a frame
*/
public function getAtomTemplatePath(): string;
/**
* @see RESTResponseType::$choices
*
* @return string Type of the template
*/
public function getType(): string;
}