private function fetchAppActions(FlowActionCollectorResponse
$result, Context
$context): FlowActionCollectorResponse
{ $criteria =
new Criteria();
$appActions =
$this->appFlowActionRepo->
search($criteria,
$context)->
getEntities();
/** @var AppFlowActionEntity $action */
foreach ($appActions as $action) { $definition =
new FlowActionDefinition( $action->
getName(),
$action->
getRequirements(),
$action->
getDelayable() );
if (!
$result->
has($definition->
getName())) { $result->
set($definition->
getName(),
$definition);
} } return $result;
} private function define(FlowAction
$service): FlowActionDefinition
{