In between commit solving tests for meta and template management

This commit is contained in:
Kevin Frantz
2019-01-06 13:13:24 +01:00
parent 6352e82ce1
commit 72d0a6ba95
11 changed files with 289 additions and 108 deletions

View File

@@ -0,0 +1,41 @@
<?php
namespace App\Domain\PathManagement;
/**
* Allows to map a path to an namespace.
*
* @author kevinfrantz
*/
interface NamespacePathMapInterface
{
/**
* @param string $namespace
*/
public function setNamespace(string $namespace): void;
/**
* @param string $path
*/
public function setPath(string $path): void;
/**
* @return string
*/
public function getNamespace(): string;
/**
* @return string
*/
public function getPath(): string;
/**
* @param array|string[] $folders
*/
public function setFolderArray(array $folders): void;
/**
* @return array|string[]
*/
public function getFolderArray(): array;
}