mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-26 13:34:01 +01:00
26 lines
498 B
PHP
26 lines
498 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\Layer;
|
|
|
|
/**
|
|
* 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;
|
|
}
|