wol-soft/php-workflow

View on GitHub
src/ExecutableWorkflow.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace PHPWorkflow;

use PHPWorkflow\Exception\WorkflowException;
use PHPWorkflow\State\WorkflowContainer;
use PHPWorkflow\State\WorkflowResult;

interface ExecutableWorkflow
{
    /**
     * @throws WorkflowException
     */
    public function executeWorkflow(
        WorkflowContainer $workflowContainer = null,
        bool $throwOnFailure = true
    ): WorkflowResult;
}