mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-29 23:05:59 +01:00
26 lines
503 B
PHP
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;
|
||
|
}
|