infinito/application/symfony/src/Domain/Layer/LayerActionMapInterface.php

26 lines
498 B
PHP
Raw Normal View History

2019-01-27 19:47:41 +01:00
<?php
namespace Infinito\Domain\Layer;
2019-01-27 19:47:41 +01:00
/**
* 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;
}