infinito/application/symfony/src/Domain/LayerManagement/LayerActionMapInterface.php
2019-01-27 19:47:41 +01:00

26 lines
503 B
PHP

<?php
namespace App\Domain\LayerManagement;
/**
* This LayerActionMap offers the possibility, to see which Action\Layer-Cobinations are possible.
*
* @author kevinfrantz
*/
interface LayerActionMapInterface
{
/**
* @param string $action
*
* @return array|string[]
*/
public static function getLayers(string $action): array;
/**
* @param string $layer
*
* @return array|string[]
*/
public static function getActions(string $layer): array;
}