[ ActionType::READ, ActionType::CREATE, ActionType::UPDATE, ActionType::DELETE, ActionType::EXECUTE, ], ]; /** * {@inheritdoc} * * @see \Infinito\Domain\Layer\LayerActionMapInterface::getLayers() */ public static function getLayers(string $action): array { return parent::getIndizesByValue($action, self::LAYER_ACTION_MAP); } /** * {@inheritdoc} * * @see \Infinito\Domain\Layer\LayerActionMapInterface::getActions() */ public static function getActions(string $layer): array { return parent::getValuesByIndex($layer, self::LAYER_ACTION_MAP); } }