Alterway\Component\Workflow\Builder::getWorkflow PHP 메소드

getWorkflow() 공개 메소드

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