mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
In between commit solving tests for meta and template management
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user