Alterway\Component\Workflow\Builder::getWorkflow PHP Méthode

getWorkflow() public méthode

Returns the workflow being built.
public getWorkflow ( ) : Workflow
Résultat Workflow
    public function getWorkflow()
    {
        if (null === $this->start) {
            throw new Exception\NoStartingNodeBuilderException();
        }
        return new Workflow($this->start, $this->nodes, $this->eventDispatcher);
    }