Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/Listener/FlowNodeRegistrationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace OCA\OpenRegister\Listener;

use OCA\OpenRegister\Service\Flow\Nodes\FilterNode;
use OCA\OpenRegister\Service\Flow\Nodes\FlowStateNode;
use OCA\OpenRegister\Service\Flow\Nodes\LoopNode;
use OCA\OpenRegister\Service\Flow\Nodes\MergeNode;
use OCA\OpenRegister\Service\Flow\Nodes\ObjectWriteNode;
Expand Down Expand Up @@ -62,6 +63,7 @@ class FlowNodeRegistrationListener implements IEventListener
* @param SubFlowNode $subFlow The built-in "Run a flow" node.
* @param RouterNode $router The built-in "Route items" node.
* @param ObjectWriteNode $objectWrite The built-in "Write an object" node.
* @param FlowStateNode $flowState The built-in "Flow state" node.
*/
public function __construct(
private readonly SetFieldsNode $setFields,
Expand All @@ -73,7 +75,8 @@ public function __construct(
private readonly LoopNode $loop,
private readonly SubFlowNode $subFlow,
private readonly RouterNode $router,
private readonly ObjectWriteNode $objectWrite
private readonly ObjectWriteNode $objectWrite,
private readonly FlowStateNode $flowState
) {

}//end __construct()
Expand Down Expand Up @@ -103,6 +106,7 @@ public function handle(Event $event): void
$event->registerNode(node: $this->subFlow);
$event->registerNode(node: $this->router);
$event->registerNode(node: $this->objectWrite);
$event->registerNode(node: $this->flowState);

}//end handle()
}//end class
Loading
Loading